I am creating links for mysql data..
my code looks like this
now, sometimes there is no 'url' data for that entry.. how do make it so if there isn't, it doesn't display that entry as a link?
thanks!
my code looks like this
Code:
echo "<a href=".$row['url']." title=".$row['title'].">".$row['name']."</a>";
thanks!


Comment