AIL PROTECTED]>
Sent: Monday, September 22, 2003 1:36 AM
Subject: Re: [PHP] search result
I have tried but didn't work. I think i'm going crazy. I don't know how to
do it...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Finally I got it.
Thanks a lot
- Original Message -
From: "phpu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 22, 2003 1:36 AM
Subject: Re: [PHP] search result
> I have tried but didn't work. I think i'm going crazy. I don&
I have tried but didn't work. I think i'm going crazy. I don't know how to
do it...
$rows_per_page = 7;
$sql = "SELECT * FROM products";
$rezultat = mysql_query($sql);
$total_records = mysql_num_rows($rezultat);
$pages = ceil($total_records / $rows_per_page);
mysql_free_result($rezultat);
mysql_
--- phpu <[EMAIL PROTECTED]> wrote:
> How can i do to show only the records that match with the search word?
Use a where clause. Read this:
http://www.mysql.com/doc/en/SELECT.html
Hope that helps.
Chris
=
Become a better Web developer with the HTTP Developer's Handbook
http://httphandbook.
Sorry but i'm new to php and i don't know how to do that. Can you help me, please?
- Original Message -
From: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, September 22, 2003 1:00 AM
Subject: Re: [PHP] search result
whwen you jump to the next page,
On Wed, 03 Sep 2003 00:29:45 -0400, John W. Holmes
<[EMAIL PROTECTED]> wrote:
This should produce what you want (or darn close):
[snipped code example]
Thank you John,
I still don't understand regualar expression, but your suggestion provided
enough insight that I am able to work out the rest o
Lee O'Mara wrote:
PROBLEM:
I want to produce short "snippets" for search result pages. The search
results are already partially processed (search terms get wrapped in
[strong] tags), but I keep hitting dead-ends with this step. Now, I've
tried a wide number of approaches, spent an embarasing am
7 matches
Mail list logo