Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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
Domain Nodelet?
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 cooling their heels in the Monastery: (2)
As of 2022-01-24 04:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (64 votes). Check out past polls.

    Notices?