List:General Discussion« Previous MessageNext Message »
From:Keith C. Ivey Date:August 5 2003 8:14pm
Subject:Re: Database not writting
View as plain text  
On 5 Aug 2003 at 12:02, Russ Fineman wrote:

> Scalar found where operator expected at
> C:\Inetpub\wwwroot\cgi-bin\memberv2.cgi line 30, near ""INSERT INTO
> members VALUES("$membername"
>  (Missing operator before $membername?)

That is not a MySQL problem and has nothing to do with your database. 
It's a Perl error indicating that your program won't compile because 
it is syntactically invalid.  Fix your Perl syntax and try again.  If 
you're still having trouble with Perl, ask on a Perl-related list, 
like one of these:

   http://lists.perl.org/showlist.cgi?name=beginners
   http://lists.perl.org/showlist.cgi?name=beginners-cgi

Note that you can't have unescaped double quotes in the middle of a 
double-quoted string.  Escape them with backslashes, change them to 
single quotes (which are more normal SQL anyway), or use some other 
method to include variables in your SQL (such as printf or DBI 
placeholders).

-- 
Keith C. Ivey <keith@stripped>
Tobacco Documents Online
http://tobaccodocuments.org

Thread
Database not writtingRuss Fineman5 Aug
  • Re: Database not writtingKeith C. Ivey5 Aug