Jump to content

Any ideas on how i would write html <img> into php


Recommended Posts

I would like to be able to use this 

<img src="user/<?=$log_username. '/' . $main_image;?>" width="130" height="150" id="pic5"/>

to work within php and i am having a had time doing so  . Any ideas?  $log_username refers to the users specific username folder within the main users folder  

 

 

 

html source code looks like this  ,but i need to reference this within  a PHP  code block not html

<img src="user/lexi/pic.png" width="130" height="150" id="pic5">

any ideas?

thanks guys

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.