Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: MySQL Double Quotes Problem(")

by blm (Hermit)
on Dec 20, 2005 at 04:49 UTC ( #517967=note: print w/replies, xml ) Need Help??


in reply to MySQL Double Quotes Problem(")

use my $quotedString = $dbh->quote( $string ); to take care of quotes.So
my $quoted_editpage = $dbh->quote($editpage); $sth->execute($quoted_editpage,$uid);
All the best! :-)

Replies are listed 'Best First'.
Re^2: MySQL Double Quotes Problem(")
by chromatic (Archbishop) on Dec 20, 2005 at 07:36 UTC

    He's already using placeholders.

    I think everyone needs to see more code to be able to diagnose more effectively. I can't see any reason this oughtn't work from the code posted. Perhaps there's something going wrong in the output routine.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2023-03-26 22:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which type of climate do you prefer to live in?






    Results (63 votes). Check out past polls.

    Notices?