I retrieve data from a Mysql database and insert it into a textfield form. The data that I retrieve have a / at the end of the string. The data in the database does not have this / in the data. How do I remove this /?
This is because the data is escaped, in order to remove the escape characters you need to place a call to stripslashes before you actually output the data to the screen.