Jump to content

[SOLVED] Simple Image Problem


FirePhoenix

Recommended Posts

I am just learning PHP and I have a problem now I know how to do links in html using PHP variables

 

<a href="<? echo $variable; ?>">Link</a>

 

Now this works fine so I figured an image address would be the same

 

<img src="<? echo $image_variable; ?>">

 

But it doesnt work can anyone tell me what i am doing wrong

 

 

Link to comment
https://forums.phpfreaks.com/topic/40045-solved-simple-image-problem/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.