I am storing just the name of photos in the database and the photos are in /img 
folder  ,
and there is no permissions issue. My testing server is IIS And the path would 
something like this : Inetpub\wwwroot\album\img
as I am running out of time! could someone complete this code just with one 
echo and img src so that I can retrive my photos ?

MySQL columns : photoID=seq number
                                        photoFileName=name of my photo like 
                                 description=short description


$link = mysql_connect('localhost', 'root', 'pw');
if (!$link) {
    die('Not connected : ' . mysql_error());

$db_selected = mysql_select_db('album', $link);

$query = "SELECT * FROM photo";

while ($row = mysql_fetch_array($result)) 


Expecting? Get great news right away with email Auto-Check.
Try the Yahoo! Mail Beta.

Reply via email to