View Single Post
Old 08-25-2007   #11 (permalink)
cfc
Registered User
 
cfc's Avatar
 
Join Date: Aug 2007
Location: Madison, WI, USA, Earth, Sol System, Milky Way
Posts: 1

I'm seeing two errors:

Quote:
if ($title && $category && question) {
$query = "INSERT INTO questions (title, author, date, question, category) VALUES ('$title', '$author', '$date', '$queston', '$category')";
$result = @mysql_query($query);
1. In the "if" statement, you need a $ on "question"
2. in the values, you mistyped "question" without an "i".

Hope this helps.
__________________
cfc is offline