RE: [PHP-DB] me noob. link if else.. help.
| From: | Paul Ihrig | Date: | Tue, 13 May 2003 18:39:46 +0000 |
| Subject: | RE: [PHP-DB] me noob. link if else.. help. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27713@lists.php.net to get a copy of this message | ||
RE: [PHP-DB] me noob. link if else.. help.thanks Gary but
<?php if ($row_rsViewLinks['linksLink'] == NULL)
print ("$row_rsViewLinks['linksName'];");
else
print ("<a
href='$row_rsViewLinks{linksLink}'$row_rsViewLinks{linksName}</a>"); ?>
doesnt seem to print out any thing.
even thiough the info is there
i basicaly want it to check to see if there is a link in the db if so put an
href aroubnd the title.
if not just print the title without the link..