RE: me noob. link if else.. help.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



you also aren't closing your a href...

should be...
<a href='$row_rsViewLinks{linksLink}'>$row_rsViewLinks{linksName}</a>

jay merritt
jay@advmed.com
jaycell@advmed.com

> RE:  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..
> 
> 




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux