Re: bugs with Widows Me

2002-11-19 Thread Nicholas Elliott
Wouldn't you need if (!mysql_query("INSERT INTO table(field) VALUES('$var')")) die("Always die"); ?? (Put the $var in single quotes, as it's a text field) Nick Elliott - Original Message - From: "Erumba Gotha Henri" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 19,

Re: bugs with Widows Me

2002-11-19 Thread Roger Baklund
* Erumba Gotha Henri > /* >$var="some long text" >or >$var='some long text' > */ The kind of quoting used within PHP does not matter to mysql. > if (!mysql_query("INSERT INTO table(field) VALUES($var)")) die("Always > die"); > > /* >1. MySQL doesn't insert the content of the varia