I have a field in mysql db called website - not all companies have them, so may be empty. I tested by setting up one entry as having a site that I know works, but when I try this, the category page show the paragraph returns for the empty fields, but doesn't echo the website field.
Ideas?
thanks,
donna
Code:
if (empty($row['website'])) {
echo "<p> </>";
}
else echo "<a href=\"[URL unfurl="true"]http://{$row[/URL]['website']}\">" . $row['website'] . "</a>";
Ideas?
thanks,
donna