bastien
I have this code put together, But still cant get it to work.
if ((isset($HTTP_POST_VARS["MM_insert"])) && ($HTTP_POST_VARS["MM_insert"] == "loginDetails")) {
$insertSQL = sprintf("INSERT INTO Users (FirstName, LastName, Address1, Address2, City, State, Day, Evening, Email, password, iAgree. DateTIme) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($HTTP_POST_VARS['FirstName'], "text"),
GetSQLValueString($HTTP_POST_VARS['LastName'], "text"),
GetSQLValueString($HTTP_POST_VARS['Address1'], "text"),
GetSQLValueString($HTTP_POST_VARS['Address2'], "text"),
GetSQLValueString($HTTP_POST_VARS['City'], "text"),
GetSQLValueString($HTTP_POST_VARS['State'], "text"),
GetSQLValueString($HTTP_POST_VARS['p1."-".p2."-".p3'], "text"),
GetSQLValueString($HTTP_POST_VARS['p4."-".p5."-".p6'], "text"),
GetSQLValueString($HTTP_POST_VARS['Email'], "text"),
GetSQLValueString($HTTP_POST_VARS['password'], "text"),
GetSQLValueString($HTTP_POST_VARS['Y-m-d H:i:s'], "text"),
GetSQLValueString(isset($HTTP_POST_VARS['iAgree']) ? "true" : "", "defined","'Y'","'N'"));
and I did understand the state validation up to a point.
and
id10t
Thanks 2