hello please spend some time help me...
this is our codes:
if (!($newresult = mssql_query("INSERT INTO User (FirstName,LastName) <--LINE 1818VALUES('$form_first_name','$form_last_name')")))
{
echo("\nYour request has been timed-out!");
echo("\nPlease contact the system adminstrator!");
exit() ;
}
we are doing a registration web page using php as a connectivity to ms_sql, where user key in their first name, last name, n by clickin on submit, the info will be sent to our sql server as input. BUT WE GET THE FOLLOWING ERROR MSG:
Your request has been timed-out! Please contact the system adminstrator!PHP Warning: Undefined variable: form_first_name in C:\Inetpub\wwwroot\submit.php on line 18 PHP Warning: Undefined variable: form_last_name in C:\Inetpub\wwwroot\submit.php on line 18 PHP Warning: MS SQL message: Incorrect syntax near the keyword 'User'. (severity 15) in C:\Inetpub\wwwroot\submit.php on line 18 PHP Warning: MS SQL: Query failed in C:\Inetpub\wwwroot\submit.php on line 18
please HELP!!! THANKS A BILLION!!