'); } $row = mysql_fetch_array($userlogin); $Count = $row['Num']; if ($Count >= "1") { include_once ('top.php');?> This Photo Name is already in use, please g back and choose another Photo Name. Uploading your image as $Img.

"); } else { echo("

Could Not Save file as $Img

"); } $photo = $imgfile; mysql_query("insert into gallery(owner,gerbitz_id, short_title, title, description, image_loc, day, month, year, active) values('$_SESSION[FullName]', '$_SESSION[UserName]', '$image_name', '$title', '$description', '$photo', '$day', '$month', '$year', '0')") or die("Error - couldn't insert data into database

" . mysql_error()); echo "Uploading your images now... Please Wait..... "; echo ""; } else { function gethint($name) { $q = mysql_query("SELECT Setting_Value from settings WHERE Setting_Name = '$name' LIMIT 0,1"); $r = mysql_fetch_row($q); return $r[0]; } ?>

Select your image that you would like to add to your gallery.
Photo Name
Title

Description

Photo