Welcome Guest, Not a member yet? Register   Sign In
Display Uploaded Image Error
#1

[eluser]rochellecanale[/eluser]
Hello guys just need a little help how can i view the uploaded picture? Here's my code below i dont know the error but it display a border image but without an image.

Code:
<?php foreach ($upload_data as $item => $value):?>
    <li>&lt;?php echo $item;?&gt;: &lt;?php echo $value;?&gt;</li>
&lt;?php endforeach; ?&gt;
<img src="&lt;?php echo $upload_data['full_path'];?&gt;" width="&lt;?php echo $upload_data['image_width'];?&gt;" height="&lt;?php echo $upload_data['image_height'];?&gt;" />\

Do i need to put the img tag inside my loop?
#2

[eluser]Sanjay Sarvaiya[/eluser]
check your full path and see is image available at that dir?
#3

[eluser]rochellecanale[/eluser]
ok i solved my own problem. i just need to replace the full path to http://localhost/.....




Theme © iAndrew 2016 - Forum software by © MyBB