brem13 Posted March 12, 2010 Share Posted March 12, 2010 im trying to post an ascii code of ’ into a database but it keeps converting it to ' is there any way to have it show on a page as ' but post to the database as ’???? Link to comment https://forums.phpfreaks.com/topic/195022-trying-to-post-codes-to-mysql-database/ Share on other sites More sharing options...
aebstract Posted March 12, 2010 Share Posted March 12, 2010 Let's see your query, it's probably got something to do with if you are using ' or " Link to comment https://forums.phpfreaks.com/topic/195022-trying-to-post-codes-to-mysql-database/#findComment-1025224 Share on other sites More sharing options...
brem13 Posted March 12, 2010 Author Share Posted March 12, 2010 here is the insert code $size_height = array('4’1', '4’2', etc); i want it to show on the page as an apostrophe and in the database as the code Link to comment https://forums.phpfreaks.com/topic/195022-trying-to-post-codes-to-mysql-database/#findComment-1025225 Share on other sites More sharing options...
brem13 Posted March 12, 2010 Author Share Posted March 12, 2010 i figured it out, i changed the quotes to "4’1"", "4’2"" Link to comment https://forums.phpfreaks.com/topic/195022-trying-to-post-codes-to-mysql-database/#findComment-1025236 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.