Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Converting Special Characters

by andrew (Acolyte)
on Oct 08, 2002 at 02:51 UTC ( [id://203559]=note: print w/replies, xml ) Need Help??


in reply to Re: Converting Special Characters
in thread Converting Special Characters

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Re: Re: Converting Special Characters
by dws (Chancellor) on Oct 08, 2002 at 02:58 UTC
    No No No, when I insert it in, everthing after the quotes is deleted!

    Have you verified that? When last we left this issue, I'd recommended that you manually inspect the database, rather than waiting until you'd generated HTML from it. Did you? Was data truncated in the database?

    Update: andrew confirmed by /msg that the data in the database was O.K.

Re: Re: Re: Converting Special Characters
by nagilum (Initiate) on Oct 08, 2002 at 09:17 UTC
    When inserting data into a db you should use $dbh->quote($var) for correct quoting.
      When inserting data into a db you should use $dbh->quote($var) for correct quoting.
      Not when using placeholders, as he does now.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2024-04-26 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found