Checking to see if DB cell contains data or not
Posted on 2004-09-19
<?php print mysql_result($result,2,"domain");?>
How do I convert the line above so it only prints the line if the database read attempt has data and does not return an error ? i.e. if database only has 2 rows and I attempt to access the third row which does not exist ??