note 88958 modified in function.mysql-num-rows by danbrown

From: Date: Sun, 15 Feb 2009 19:08:51 +0000
Subject: note 88958 modified in function.mysql-num-rows by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150704@lists.php.net to get a copy of this message
Hi there...to get al the records i use this: <?php $total_pages = ceil(mysql_num_rows(mysql_query("SELECT id FROM users WHERE class= '2'"))); ?> --was-- Hi there...to get al the records i use this: $total_pages = ceil(mysql_num_rows(mysql_query("SELECT id FROM users WHERE class= '2'"))); http://php.net/manual/en/function.mysql-num-rows.php

« previous php.notes (#150704) next »