attempting to insert row into file
Posted: Fri Sep 27, 2002 12:21 am
here's my code
all i get when attempting to execute the statement is the die error message...
this is my first attempt at using php to process forms... does my syntax look correct?
Code: Select all
$query = "INSERT INSERT INTO 'calendar' ('number', 'date', 'time', 'title', 'details', 'user', 'timestamp') VALUES ('0', '".$date."', '".$time."', '".$title."', '".$details."', '".$user."', '".$timestamp."')";
$result = mysql_query($query) or die("Attempt to add record to calendar file failed.");this is my first attempt at using php to process forms... does my syntax look correct?