I have a table which stores a number (Image number) and links to images stored on the file system.
As you might have guessed I wanna be able to display these images on a page.
This is what I have so far and I'm stuck here:
<?
$host="somehost";
$username="somename";
$password="somepass";
$db="test";
mysql_connect($host,$username,$password) or die("Unable to connect to SQL server");
@mysql_select_db($db) or die("Unable to select database");
$result=mysql_query("SELECT * FROM images") or die("Can't Perform Query");
While($row=mysql_fetch_object($result)) {
echo $row->ImageLink;
}
I need some advice on how to display the actual images.
Thanks much.