> 2. Your SQL is a bit out of whack. The "SET" clause is used for
>    UPDATEs, not INSERTs.
> 
>    Instead, try:
> 
>    $sql = "INSERT INTO tabell (fornamn, efternamn, email) VALUES (" .
>           "'$fornamn', '$efternamn', '$email');";

MySQL actually lets you use SET for INSERTS, though.

Jason

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to