Results 1 to 2 of 2

Thread: total rows in sql table

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 2005
    Posts
    1,364

    total rows in sql table

    i need a way of getting the total number of rows in a table

    $total = <something>;

    echo "Total rows: $total";

  2. #2
    PowerPoster kfcSmitty's Avatar
    Join Date
    May 2005
    Posts
    2,248

    Re: total rows in sql table

    This page shows you how to achieve what you want.

    http://ca.php.net/mysql_num_rows


    HTH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width