me noob. link if else.. help.
| From: | Paul Ihrig | Date: | Tue, 13 May 2003 18:11:09 +0000 |
| Subject: | me noob. link if else.. help. | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-27710@lists.php.net to get a copy of this message | ||
hey guys..
i am looking books how to do this right
its where the echo is.
i want it to print the link out.
i think i should be using a \n, but am not sure how..
<?php
if ($row_rsViewLinks['linksLink'] == NULL)
print ("$row_rsViewLinks['linksName'];");
else
echo "<a
href="$row_rsViewLinks['linksLink']"$row_rsViewLinks['linksName']</a>;"
?>
thanks
-paul