#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2000
    Location
    Mexico DF Mexico
    Posts
    16
    Rep Power
    0
    Howdy.

    How can I set the classical search engine message?

    Found ### results.

    How can I count the returned results and display them in the results page? so now has the
    Found 5 results or any number that the result contains

    Thanx allot from mexico
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Location
    Niagara Falls (On the wrong side of the gorge)
    Posts
    3,237
    Rep Power
    18
    Hey Luis,

    I know you use MySQL so the answer is...

    After doing your query (assuming $result contains the result index):

    $numrows=mysql_num_rows($result);

    pretty easy, huh?

    Rod

Similar Threads

  1. different page display depending on $_GET results
    By emp/ir:kal in forum PHP Development
    Replies: 5
    Last Post: February 11th, 2004, 10:12 AM
  2. CONVERT Date? How to display results?
    By nadin in forum MS SQL Development
    Replies: 2
    Last Post: February 4th, 2004, 07:00 AM
  3. Limit the number of results pages
    By capt.ace in forum ASP Programming
    Replies: 2
    Last Post: January 12th, 2004, 01:16 PM
  4. limit mysql display results into 3 table rows
    By bcounsell in forum MySQL Help
    Replies: 1
    Last Post: January 9th, 2004, 07:16 AM
  5. How do you display SQL results in a table (in PHP)?
    By kyliecoast in forum PHP Development
    Replies: 2
    Last Post: January 2nd, 2004, 05:56 AM

IMN logo majestic logo threadwatch logo seochat tools logo