Code: Select all
//Database initialisation
$connection = mysql_connect($dbhost, $dbusername, $dbpassword);
//Add prelimenary data into the temp artwork table
$Add = mysql_db_query ($dbname, "INSERT INTO artwork_info_tmp VALUES ('','$gallery_userid','$todays_date','$newfile_name','nullthumb','nullwire','nullwirethumb','temptitle','nullcategory1','nullcategory2','nullcategory3','','','','','','','','','','','','','','','')");btw, the '','','' bits are all NULL data being added into the fields.
Thanks a ton,
Rob