Jump to content

benidopogi

New Members
  • Posts

    1
  • Joined

  • Last visited

benidopogi's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi to all.Im currently displaying the images from my upload directory but the image does not display.please help thanks <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form enctype="multipart/form-data"> <?php include 'connect.php'; $dir = '/images/advisory'; $res = mysql_query("Select * from image_advisory INNER JOIN main_advisory ON image_advisory.advisory_id = main_advisory.id "); echo"<table border='1px'>"; while($row=mysql_fetch_array($res)) { echo"<tr>"; echo"<td>"; echo $row['advisory']; echo "</td>"; echo"<td>";?><img src="<?php echo images/advisory/'.$row["ad_img"].'; ?>" height="100" width ="100" > <?php echo "</td>";//this is the error please help echo"</tr>"; } echo "</table>"; ?> </form> </body> </html>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.