I have a script which uploads image in a folder then then path to the database.
it works well.
the problem is that i can`t display the image using the path.
<?php
$sql=mysql_query("SELECT path,user,date,filename FROM picha WHERE user='peacemaker'");
$row = mysql_fetch_array($sql);
$user=$row['user'];
$filename=$row['filename'];
$path=$row['path'];//here you get path where you store image for user1
$date=$row['date'];
echo"<img src='$path' width=300 height=250 alt='$user'>";//here is where i want to display the photo.
?>
when you echo only the path it gives something like this.
c:/wamp/www/photo/uploads/Biboze.jpg
and i`m currently working on www folder.
So if you can help where i`m getting wrong i need your help please.