I have the following mysql query:
$products = mysql_query("SELECT * FROM dpweb_products WHERE id='$id'") or die(mysql_error());
$row = mysql_fetch_array($products);
What I would like to know is if this row is empty:
$row['description']
I want it to display “No Product Description Available” but otherwise display the description value from the database.
Could do with pointing in the right direction.
Thanks
Try this: