Off-Topic Discussions
Page 1 of 1
Signup or Login to Post
MySQL gods
  • Send a message to ArchDuke
    INACTIVE
    ArchDuke posted on Jun 26, 2013 11:25:26 AM - Report post
     
    Not in GD because it would maybe be moved to here so it's safer this way.

    what does this

    mysql_real_escape_string

    do exactly? Thanks in advance
     
  • Current rank: 4 Stars. Next Rank at 10.000 Posts.
    Send a message to Neo7
    AUTHOR
    Neo7 posted on Jun 26, 2013 6:04:39 PM - Report post
     
    It adds a backslash to special characters to properly escape them in your SQL queries.

    This command is depreciated and should not be used and instead use the API from MySQLi or MySQL PDO.
    Your bitterness, I will dispel
Page 1 of 1
Signup or Login to Post
All times are (GMT -06:00) Central Time (US & Canada). Current time is 7:27:00 AM