I have stored my images in the database by having their name such as something.jpg
in a name field and in the alt field I have the alt tag such as this is a picture of something
When i come to display the picture I get the picture displayed ok but the alt tag has only the first word shown so in my example it would display the
Any ideas what would cause this?
echo "<p class='style2'><img src=/images/".$code['photo']." alt=".$code['alternate'].">".nl2br($code['content'])."</p>";
If your topic has been solved, please mark the topic as SOLVED.
This helps others from identifying which topics need help still