Topshed Posted June 8, 2008 Share Posted June 8, 2008 Hi, I am running PHP5.0.41 and MySQL 4.1.15 A problem has arisen when I want to put the ascii code for 1/2 or 1/4 , when I am editing my database on line.I thought I could use ½ but ½ is what comes up on screen rather than 1/2 it should be I suspect I may not be escaping properly or it cannot be done with this combination of software >> Please Help Thanks Roy.. Link to comment https://forums.phpfreaks.com/topic/109219-ascii-special-characters/ Share on other sites More sharing options...
MiCR0 Posted June 8, 2008 Share Posted June 8, 2008 I believe you check the output of your code and look for ½ with in a string using str_replace and if it is there replace it with $letter = chr(171); $letter = chr(172); Link to comment https://forums.phpfreaks.com/topic/109219-ascii-special-characters/#findComment-560273 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.