I populate the table with non slashed text with no problems. Before I do that, I'm treating the message body using mysqli->real_escapre_string. Cezary
-----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Barry Murphy Sent: 24 May 2010 00:45 To: Users Subject: Messages with php stripslashes Hi, I'm using sqlbox to insert text messages into kannel from our php website. Previous to using PHP stripslashes, when ever a person had a ' in a word such as it's, it would add a slash like it\'s which is understandable. We've since used php stripslashes('it\'s') which sends "it's" to sqlbox and then to the user. Problem is now that in place of a ' the user receives a ?, for instance it's is displayed to the user as it?s. Does anyone know what I could use in PHP to get the correct message to the end user. thanks Barry
