Re: [PHP] problem with INSERT query
From: Sven (svenie_at_gmx.li)
Date: 12/09/03
- Next message: mudassar: "php adding slash to file"
- Previous message: Michael Egan: "Structuring keyword searches"
- In reply to: irinchiang_at_justeducation.com: "Re: [PHP] problem with INSERT query"
- Next in thread: irinchiang_at_justeducation.com: "Re: [PHP] problem with INSERT query"
- Reply: irinchiang_at_justeducation.com: "Re: [PHP] problem with INSERT query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: mudassar: "php adding slash to file"
- Previous message: Michael Egan: "Structuring keyword searches"
- In reply to: irinchiang_at_justeducation.com: "Re: [PHP] problem with INSERT query"
- Next in thread: irinchiang_at_justeducation.com: "Re: [PHP] problem with INSERT query"
- Reply: irinchiang_at_justeducation.com: "Re: [PHP] problem with INSERT query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|