Re: [PHP] stupid error, please kick me (and send me a solution)

2002-06-03 Thread Brad McCrorey
Please note that this only neccesarily applies to MySQL. I've run into a lot of problems by assuming double-quote syntax with postgres and mssql. A better solution is to stop writing your own queries and use an abstraction library. Cheers, Brad Sqlcoders.com Programming Dept wrote: >Hiya, >Y

Re: [PHP] stupid error, please kick me (and send me a solution)

2002-06-03 Thread Lejanson C. Go
try this jule.. $link_glob = "mysql_connect('$host_glob', '$un_glob', '$pw_glob')"; $temp= PASSWORD($password); $query = "INSERT INTO user values('0', '$fname', '$lname', '$email', '$username', '$temp');"; i think this will work..=) i hope ive done something. - Original Message -

Re: [PHP] stupid error, please kick me (and send me a solution)

2002-06-03 Thread Sqlcoders.com Programming Dept
Hiya, You're using single quotes around all your strings, for variables to be replaced with their values, you must use double quotes. Try replacing every ' with ". HTH, Dw Sqlcoders.com Dynamic data driven web solutions - Original Message - From: "Jule Slootbeek" <[EMAIL PROTECTED]> To: