Re: [PHP] search result

2003-09-22 Thread Marek Kilimajer
: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

[PHP] search result

2003-09-21 Thread phpu
Hi, I have this code that search an specify word in the database. This search is working. The only problem that I have is that I wanna show only 7 rows per page. When I wanna jump to the next page with results it shows all records in the database(7 rows per page). How can i do to show only the

Re: [PHP] search result

2003-09-21 Thread phpu
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, make sure

Re: [PHP] search result

2003-09-21 Thread Chris Shiflett
--- 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

Re: [PHP] search result

2003-09-21 Thread phpu
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);

Re: [PHP] search result

2003-09-21 Thread phpu
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't know how to do it... -- PHP General

Re: [PHP] search result highlighting / regexp voodoo

2003-09-03 Thread Lee O'Mara
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 of

[PHP] search result highlighting / regexp voodoo

2003-09-02 Thread Lee O'Mara
At the risk of this looking like a cheap tactic for getting someone else to do my work for me, I'll put the disclaimer at the top. Understand that what I'm looking for is new perspective on a problem that I've spent too much time dealing with. PROBLEM: I want to produce short snippets for

Re: [PHP] search result highlighting / regexp voodoo

2003-09-02 Thread John W. Holmes
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

[PHP] search result page, need some ideas on how to do [PREV] 1 2 3 4 [NEXT] stuff..

2001-10-05 Thread Nicklas Bondesson
all ideas are very welcomed !! /nicke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]