![]() |
another PHP/MySQL question
I am creating links for mysql data..
my code looks like this Code:
echo "<a href=".$row['url']." title=".$row['title'].">".$row['name']."</a>"; thanks! :thumbsup |
the name should still be displayed, just not the link
|
|
Quote:
|
Code:
if(isset($row['url'])){ |
Thanks, dude!
hmm, it doesn't produce any errors, but it doesn't work.. should i try something other than isset? |
switched around the if and else and tried empty()
that worked! thanks! |
also: i have a separator between each entry.. is there an if something() to check if it's the last entry, so the separator doesn't show up at the end?
|
it's now 1041
|
Code:
if($row['url'] != empty){ |
All times are GMT -7. The time now is 03:25 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123