View Single Post
  #3 (permalink)  
Old 19-01-2004, 04:35 PM
jeb23's Avatar
jeb23 jeb23 is offline
New kid on the block
 
Join Date: Jan 2004
Location: JB
Posts: 4
Rep Power: 0
jeb23 is on a distinguished road
thanks.. but
PHP:--------------------------------------------------------------------------------
$db = //db connection

$sql = mysql_query("SELECT * FROM table", $db);
$rows = mysql_num_rows($sql);

//echo $rows;

perhaps it works.....

mysql_num_rows kite bleh dapatkan jumlah rekod atau bil rekod yg affect ngan query?

apa beza ngan "select count(nama medan) from nama table";
thanks so much!!!

refards
Reply With Quote