Hi,
i am trying to upload my image stored the server following this tutorial online, [url]http://php.about.com/od/phpwithmysql/ss/Upload_file_sql_4.htm
they have used a while loop but i’ve used a foreach loop instead.
Essentially, i’m having trouble with the syntax of my img tag when i try to echo out the image:
[CODE]
<?php foreach ($employees as $employee): ?>
<?php echo “‘<img src=C:wampwwwimages’ . $employee[‘photo’] > ;?>” <br >
<?php endforeach; ?>
I belive it has something to do with my ‘ ‘ single or ” ” double quotes, but i n can’t really point my finger to it as i get the following error:
Parse error: parse error, expecting `T_STRING’ or
line 15 is the <?php echo …….. ?> code.
Can somebody tell me if i need to close somethnig or adjust my quotes pls.