ive got a script to upload and display images...
but the way its set up it only displays one at a time and to change which one is displayed you have to change the actual php code...
here it is :
to display it :
CODE
<?
$db = @mysql_connect(localhost, capty99, ******) or
die("Can't connect to server.");
@mysql_select_db("capty99", $db) or
die("Can't select database.");
$get_image = "select binary_junk,
filetype from images where img_id = 1";
$get_image_result = @mysql_query($get_image)
or die("Couldn't get image.");
$binary_junk = @mysql_result
($get_image_result,0,"binary_junk");
$filetype = @mysql_result
($get_image_result,0,"filetype");
header("Content-type: $filetype");
echo "$binary_junk";
?>
how do i get it to display more or something... i need a way to set up a gallery like what used to be up at techmechanic