I am having a problem when a user submits specific text to my database. If the user types a UNC path to a server and the server starts with an 'R' then the data is malformed as it gets entered into the mySQL database.
For example, if the user typesI submit the data to the database using the mysql_real_escape_string. Which changes the data to now read\\realtime\sharenameThis causes a problem when pulling the data out of the database and displaying it because of that \r\n. It does some tricky formatting and then the data printed in HTML looks like\\\r\nealtime\\sharenameAny help on this?\ ealtime\sharename




Reply With Quote