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 <[EMAIL PROTECTED]>
Tobacco Documents Online
http://tobaccodocuments.org


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to