Re: [PHP] problem with INSERT query
irinchiang_at_justeducation.com
Date: 12/10/03
- Next message: Tom Rogers: "Re: [PHP] treu type fonts"
- Previous message: irinchiang_at_justeducation.com: "RE: [PHP] Constraint Violation when INSERT"
- In reply to: Sven: "Re: [PHP] problem with INSERT query"
- Next in thread: Jason Wong: "Re: [PHP] problem with INSERT query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 10 Dec 2003 13:49:59 +0800 To: Sven <svenie@gmx.li>
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.
- Next message: Tom Rogers: "Re: [PHP] treu type fonts"
- Previous message: irinchiang_at_justeducation.com: "RE: [PHP] Constraint Violation when INSERT"
- In reply to: Sven: "Re: [PHP] problem with INSERT query"
- Next in thread: Jason Wong: "Re: [PHP] problem with INSERT query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|