Sorry, wrote wrong here so one more try.

Well, no. But that's not where the problem is. If I was unclear - the
id-field work as it should. It's when I try to use A variable in the
query-string the problem pops up.

IOW - INSERT INTO SITE (id,name,url,comment) VALUES
(null,'testname','testurl',null)

Works

INSERT INTO SITE (id,name,url,comment) VALUES
(null,'$name','$url','$comment')

Does not when I've set $comment=null;

If every field has a proper value (when everything had been filled in on the
form), Everything works as expected.

/Jonas

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.501 / Virus Database: 299 - Release Date: 2003-07-14
 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to