Jump to content

Help on using count()


geekisthenewsexy

Recommended Posts

then, you should use mysql_fetch_array() after excute your query.

like

$sql = mysql_query("SELECT * FROM country ORDER BY country_name ASC");

while($data = mysql_fetch_array($sql))
{
echo 'Country Name - '.$data['country_name'].' Country id-'.$data['id'].'<br>';
}
echo "</form>";

 

Link to comment
https://forums.phpfreaks.com/topic/214888-help-on-using-count/#findComment-1117866
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.