Hi, my problem is this I have a DB with articles, for each articles there is some photos every articles doesn´t have the same numbers of pics... well....If a field that have a img path is empty I dont wanna that the image holder (with the red X) appears.
How may I accomplish that ???
because I tried this and works...
<? if ($row_details['URLa']!="")
echo "<img src=\"Photos/cap004.jpg\">"?>
but when I replace the static value to a field DB value...doesn´t works.
<? if ($row_details['URLa']!="") echo "<img src=\"echo $row_details['URLa'];\">";?>
If some1 know of to fix this or know another ways, please let me know.
Btw Im a noob in PHP...& sorry my english.