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
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 -
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:
3 matches
Mail list logo