php---get image path that in a directory using php and show image using HTML -
i have directory show image:
www\item(directory) 1.gif
how can use php image path?
i want check if directory exist,i image path,if not show error.
if image path,i want show image using html like:
<img src="(image path)" style="width:304px;height:228px">
assuming got image path variable > $image_path
simply this...
<img src="<?php echo $image_path; ?>" style="width:304px;height:228px">
Comments
Post a Comment