Henning Olsen wrote:
Build the inside of your loop like this...
I have a search on my page, which presents all the adresses one after all.
I would like to present a graphic icon representing the mailaddress, but
only when ther IS a mailaddress. Not everyone has a mail address.
But I cant put an if-statement in the "while(list(..."
Any suggestione to me on showing a graphic with a link when $mail is
different from null?
if ( $mail!='' ) then
[print the icon here]
echo "<A HREF='mailto:$mail'>$mail</a>";
[This E-mail scanned for viruses by Declude Virus]
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php