RE: [PHP-DB] me noob. link if else.. help.

From: Date: Tue, 13 May 2003 18:43:57 +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-27714@lists.php.net to get a copy of this message
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: [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.. > >

« previous php.db (#27714) next »