1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| if ((isset($HTTP_POST_VARS["MM_insert"])) && ($HTTP_POST_VARS["MM_insert"] == "form2")) {
$insertSQL = sprintf("INSERT INTO jeux (titre, date_d_achat, annee, spine_card, boite, code, notice, version, test, note, fun, musique, duree_de_vie, nb_joueurs, date_ins, idediteur, iddeveloppeur, idgenre, systemeID, screen01) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, NOW(), %s, %s, %s, %s, %s)",
GetSQLValueString($HTTP_POST_VARS['titrejeux'], "text"),
GetSQLValueString($HTTP_POST_VARS['datedachat'], "date"),
GetSQLValueString($HTTP_POST_VARS['anneesortie'], "text"),
GetSQLValueString($HTTP_POST_VARS['spinecard'], "text"),
GetSQLValueString($HTTP_POST_VARS['boite'], "int"),
GetSQLValueString($HTTP_POST_VARS['code'], "text"),
GetSQLValueString($HTTP_POST_VARS['notice'], "text"),
GetSQLValueString($HTTP_POST_VARS['version'], "text"),
GetSQLValueString($HTTP_POST_VARS['ajouttest'], "text"),
GetSQLValueString($HTTP_POST_VARS['note'], "text"),
GetSQLValueString($HTTP_POST_VARS['fun'], "text"),
GetSQLValueString($HTTP_POST_VARS['musique'], "text"),
GetSQLValueString($HTTP_POST_VARS['duree_de_vie'], "text"),
GetSQLValueString($HTTP_POST_VARS['nbjoueur'], "text"),
GetSQLValueString($HTTP_POST_VARS['ab'], "date"),
GetSQLValueString($HTTP_POST_VARS['editeurjeux'], "int"),
GetSQLValueString($HTTP_POST_VARS['developpeurjeux'], "int"),
GetSQLValueString($HTTP_POST_VARS['genrejeu'], "text"),
GetSQLValueString($HTTP_POST_VARS['systemejeu'], "int"),
GetSQLValueString($HTTP_POST_VARS['screen1'], "text")); |
Partager