LoveOpnSrc
Programmer
Hi,
I am not sure why this is not working the way I think it should. My issue is I can not display number of items in the database correctly. When I do the
in the database it returns 3, this is correct. However, when I try and display it in PHP, at best I can get this to loop twice. How can I make it display 3 ?
Here is my code.
Thank you in advance...
3 am time for bed now...
I am not sure why this is not working the way I think it should. My issue is I can not display number of items in the database correctly. When I do the
Code:
Select count(*) from DanceInfo
Here is my code.
Code:
//Query String
$rsCount = mysql_query("Select count(*) from tableDanceInfo");
//Get actual count
$num_rows = mysql_num_rows($rsCount);
//Display
$i = 0;
while($i <= $num_rows)
{
print"There are : ";echo($num_rows);print"<br>";
$i++;
}
Thank you in advance...
3 am time for bed now...