Re: problem with INSERT query

From: Date: Tue, 09 Dec 2003 11:01:09 +0000
Subject: Re: problem with INSERT query
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-172245@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

« previous php.general (#172245) next »