Re: [PHP] problem with INSERT query

From: Sven (svenie_at_gmx.li)
Date: 12/09/03


To: php-general@lists.php.net
Date: Tue, 09 Dec 2003 12:01:09 +0100

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



Relevant Pages

  • 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: [PHP] problem with INSERT query
    ... > Thanks alot for your help!!! ... > It was only a spacing mistake... ... So what was actually the difference between having "single quotes" for my ...
    (php.general)
  • 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)
  • Re: Line spacing in report
    ... Never mind, it's my mistake. ... The spacing is fine now. ... > I can't find anything on the report toolbar ...
    (microsoft.public.fox.programmer.exchange)
  • Re: [PHP] problem with INSERT query
    ... Thanks alot for your help!!! ... It was only a spacing mistake... ... Irin. ...
    (php.general)