Re: problem with INSERT query
| From: | irinchiang at justeducation dot com | Date: | Wed, 10 Dec 2003 05:49:59 +0000 |
| Subject: | Re: problem with INSERT query | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172319@lists.php.net to get a copy of this message | ||
irinchiang@justeducation.com schrieb:
>
> Thanks alot for your help!!!
> It was only a spacing mistake...
> There should have no spacing in between each variables:
>
> VALUES ($tutor_name,$tutor_contact,$tutor_email,$tutor_profile)";
hi,
a space after a comma shouldn't be a problem. your problem were probably
your single quotes. it's a different between
" ... VALUES ('$tutor_name', ...)";
and
" ... VALUES ($tutor_name, ...)";
hth SVEN
-------------------------------------------------------------------------------
-
So what was actually the difference between having "single quotes" for my
string and without single quotes ???
Irin.