Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: Perl DBI and mySQL

by snopal (Pilgrim)
on Feb 02, 2008 at 19:41 UTC ( #665763=note: print w/replies, xml ) Need Help??


in reply to Perl DBI and mySQL

quote() is your friend.

Update:

Also, this:

qq{INSERT INTO mfa.genome ($cc) VALUES ("$vv")};

Parses out to this:

INSERT INTO mfa.gnome (field1, field2) VALUES ("value1, value2")

The quotes confuse MySQL.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://665763]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2020-10-30 13:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (279 votes). Check out past polls.

    Notices?