I want to print a html table only if there is at least one row can be returned from a table.
Foe example, something like:
if ($rowNum >0)
//then print a html table
< table> .....
I guess I need to use mysql_num_rows () to determin the $rowNum. Is this a only choice? or there is a better choice in terms of performance?
Thanks very much for your reply,