0)) $errormessage[]="upkeeper must be a valid number"; // if everything is ok if(!$errormessage) $submitok=true; } // insert the submitted prod if($submitok){ //double insert check $query="SELECT name FROM lists ORDER BY added DESC LIMIT 1"; $result=mysql_query($query); $lastone=mysql_fetch_assoc($result); if($lastone["name"]!=$name) { $query = "INSERT INTO lists SET "; $query.= "lists.name='".$name."', "; $query.= "lists.desc='".$desc."', "; $query.= "upkeeper='".$upkeeper."', "; $query.= "adder='".$_SESSION["SCENEID_ID"]."', "; $query.= "added=NOW()"; mysql_query($query); // print("pong->".$query); $lastid=mysql_insert_id(); } //print("ping"); } ?>
this list has been added
feel free to add another one
see what you've done
errors found
 -
 -
list information
name:
description:
upkeeper id:

the lobster says "FUCK OFF!"

you need special priveligies to access this page.


login
You need to be logged in to submit a list :: register here