[] replacing quotes and single quotes
Posted: Wed Dec 10, 2008 12:13 am
Hello, I'm writing data to a mysql table and using the nl2br() function to convert new lines to <br/> so the browser can display the new lines properly when the data is sent to the browser. The problem is all double quotation and single quotation marks show up as � instead of the quotation marks that were originally entered into the database using textarea. Is there a function in php that will convert the small boxes back to the proper quotation marks when the data is queried and displayed in the browser? Thanks, cm 