I want to display a row that contains a text and an image saved with a PHP Variable from a database.
Exemple:
Row contains: "Some text about something and then
<img src="images/$img">
"
When i try to echo it's displaying like a plain text
Exemple:
"Some text about something and then
<img src="images/$img">
" thus the $img = "test.png" and image should be echo like<img src="images/test.png">
Aucun commentaire:
Enregistrer un commentaire