-
error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '-notonline,sun1-start,sun1-finish,sun2-start,sun2-finish,mon-no
-
-
code:
-
-
$write=mysql_query("Insert into staffapp (id_ticket,name,nsaccount,email,position,gender,age,country,timezone,sun-notonline,sun1-start,sun1-finish,sun2-start,sun2-finish,mon-notonline,mon1-start,mon1-finish,mon2-start,mon2-finish,tue-notonline,tue1-start,tue1-finish,tue2-start,tue2-finish,wed-notonline,wed1-start,wed1-finish,wed2-start,wed2-finish,thu-notonline,thu1-start,thu1-finish,thu2-start,thu2-finish,fri-notonline,fri1-start,fri1-finish,fri2-start,fri2-finish,sat-notonline,sat1-start,sat1-finish,sat2-start,sat2-finish,usagelength,howuserfoundus,lang1,lang2,whytohelp,prevexp,folder,dateadded,ip,useragent,websiteaccount,answered,closed,password)"."
-
values(".$id.",
-
'".strip_tags($_POST['NAME'])."',
-
'".strip_tags($_POST['NSACCOUNT'])."',
-
'".strip_tags($_POST['EMAIL'])."',
-
'".strip_tags($_POST['POSITION'])."',
-
'".strip_tags($_POST['GENDER'])."',
-
'".strip_tags($_POST['AGE'])."',
-
'".strip_tags($_POST['COUNTRY'])."',
-
'".strip_tags($_POST['TIMEZONE'])."',
-
'".strip_tags($_POST['SUN-NOTONLINE'])."',
-
'".strip_tags($_POST['SUN1-START'])."',
-
'".strip_tags($_POST['SUN1-FINISH'])."',
-
'".strip_tags($_POST['SUN2-START'])."',
-
'".strip_tags($_POST['SUN2-FINISH'])."',
-
'".strip_tags($_POST['MON-NOTONLINE'])."',
-
'".strip_tags($_POST['MON1-START'])."',
-
'".strip_tags($_POST['MON1-FINISH'])."',
-
'".strip_tags($_POST['MON2-START'])."',
-
'".strip_tags($_POST['MON2-FINISH'])."',
-
'".strip_tags($_POST['TUE-NOTONLINE'])."',
-
'".strip_tags($_POST['TUE1-START'])."',
-
'".strip_tags($_POST['TUE1-FINISH'])."',
-
'".strip_tags($_POST['TUE2-START'])."',
-
'".strip_tags($_POST['TUE2-FINISH'])."',
-
'".strip_tags($_POST['WED-NOTONLINE'])."',
-
'".strip_tags($_POST['WED1-START'])."',
-
'".strip_tags($_POST['WED1-FINISH'])."',
-
'".strip_tags($_POST['WED2-START'])."',
-
'".strip_tags($_POST['WED2-FINISH'])."',
-
'".strip_tags($_POST['THU-NOTONLINE'])."',
-
'".strip_tags($_POST['THU1-START'])."',
-
'".strip_tags($_POST['THU1-FINISH'])."',
-
'".strip_tags($_POST['THU2-START'])."',
-
'".strip_tags($_POST['THU2-FINISH'])."',
-
'".strip_tags($_POST['FRI-NOTONLINE'])."',
-
'".strip_tags($_POST['FRI1-START'])."',
-
'".strip_tags($_POST['FRI1-FINISH'])."',
-
'".strip_tags($_POST['FRI2-START'])."',
-
'".strip_tags($_POST['FRI2-FINISH'])."',
-
'".strip_tags($_POST['SAT-NOTONLINE'])."',
-
'".strip_tags($_POST['SAT1-START'])."',
-
'".strip_tags($_POST['SAT1-FINISH'])."',
-
'".strip_tags($_POST['SAT2-START'])."',
-
'".strip_tags($_POST['SAT2-FINISH'])."',
-
'".strip_tags($_POST['USAGELENGTH'])."',
-
'".strip_tags($_POST['HOWUSERFOUNDUS'])."',
-
'".strip_tags($_POST['LANG1'])."',
-
'".strip_tags($_POST['LANG2'])."',
-
'".strip_tags($_POST['WHYTOHELP'])."',
-
'".strip_tags($_POST['PREVEXP'])."',
-
'Pending',
-
'".$dateadded."',
-
'".$remote."',
-
'".$_SERVER['HTTP_USER_AGENT']."',
-
'".$_POST['WEBSITEACCOUNT']."',
-
0,
-
0,
-
'".$password."')");
Posted by Anonymous Tue 27th Feb 2007 18:20 - Syntax is None/text - 20 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
PermaLink to this entry https://pastebin.co.uk/11081
Posted by Anonymous Tue 27th Feb 2007 18:20 - Syntax is None/text - 20 views
Download | New Post | Modify | Hide line numbers
Download | New Post | Modify | Hide line numbers
Comments: 0