\' \' /' '' '` ` is it done php here to deal with that?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
gphp
Forum Commoner
Posts: 29
Joined: Sun Feb 17, 2008 1:40 pm

\' \' /' '' '` ` is it done php here to deal with that?

Post by gphp »

\'
'
\' /' \'\'
I wonder how are these dealt with so it does not conflict with sql?
/\' ''
Mark Baker
Forum Regular
Posts: 710
Joined: Thu Oct 30, 2008 6:24 pm

Re: \' \' /' '' '` ` is it done php here to deal with that?

Post by Mark Baker »

User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Re: \' \' /' '' '` ` is it done php here to deal with that?

Post by John Cartwright »

Mark Baker wrote:Using mysql_escape_string
Actually, mysql_escape_string() is old. You want mysql_real_escape_string()
Post Reply