Re: [PHP] problem with INSERT query

irinchiang_at_justeducation.com
Date: 12/10/03


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.



Relevant Pages

  • Re: [PHP] problem with INSERT query
    ... irinchiang@justeducation.com schrieb: ... > Thanks alot for your help!!! ... > It was only a spacing mistake... ...
    (php.general)
  • Re: [PHP] problem with INSERT query
    ... Thanks alot for your help!!! ... It was only a spacing mistake... ... Irin. ...
    (php.general)
  • Re: spacing between paragraphs: before+after vs. max(before,after)
    ... See what you get when you stumble on a Mac newsgroup? ... HTML paragraph spacing rules applies the "highest" of two spaces between two ... You seem to have blundered into Word for Macintosh by mistake. ...
    (microsoft.public.mac.office.word)
  • Re: PX3 Flex Grip
    ... It's all this automatical upper-casing and lack of double spacing. ... does alot of work for some people. ... wasent talking to you anyway ...
    (rec.juggling)
  • Re: spacing between paragraphs: before+after vs. max(before,after)
    ... Now I select all three lines, RightClick->Paragraph..., set Spacing ... I LIKE the first behavior. ... You seem to have blundered into Word for Macintosh by mistake. ... *is* this RightClick of which you speak? ...
    (microsoft.public.mac.office.word)