leegold2
Technical User
- Oct 10, 2004
- 116
Newbie ques.
I want to be able to test if a db query gets "hit's" or not, so eg,
$query = SELECT * from table...
$result = mysql_query($query)...
Now I assume I would test at some point with:
mysql_num_rows...to see if anything was returned,
Could anyone supply a snippet to show me how?
Thanks
I want to be able to test if a db query gets "hit's" or not, so eg,
$query = SELECT * from table...
$result = mysql_query($query)...
Now I assume I would test at some point with:
mysql_num_rows...to see if anything was returned,
Could anyone supply a snippet to show me how?
Thanks