> 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]
- Re: [PHP] Code check please J Smith
- RE: [PHP] Code check please Rich Cavanaugh
- Re: [PHP] Code check please Lenar Lõhmus
- Re: [PHP] Code check please Andreas Skarin
- RE: [PHP] Code check please Peter Houchin - SunRentals Australia
- Re: [PHP] Code check please Philip Olson
- RE: [PHP] Code check please Warren Vail
- Re: [PHP] Code check please Sebastian Wenleder
- RE: [PHP] Code check please Warren Vail
- Re: [PHP] Code check please Robert Vetter
- [PHP] Code check please Jason Murray
- [PHP] Code check please James Johnson
- RE: [PHP] Code check please James Johnson
- Re: [PHP] Code check please CPT John W. Holmes