problem with html tags
Posted: Fri Dec 01, 2006 6:27 am
Hello ,
I have a problem with, special characters inserted into database. From some key boards the symbol '-' was bigger than normal. Although it was taken into database. But while reading some browser was't reading that Big "-".
the html equilant to that Big'-' will be – , How can i remove that Big "-" from database, and replaced with small '-' ie normal one.
i Have writted the code,
ereg_replace(– ,'-',$value);
But In the database, the filed $value does not have exactly – . There it was like that Big '-', From my key board i can't able to type that perticular character, even i tried combining two hiphans like '--', but it wont helped.
Please give any suggestions to remove that Big '-' from databse and replace normal one
Thank U,
Murali
PHP Programmer
I have a problem with, special characters inserted into database. From some key boards the symbol '-' was bigger than normal. Although it was taken into database. But while reading some browser was't reading that Big "-".
the html equilant to that Big'-' will be – , How can i remove that Big "-" from database, and replaced with small '-' ie normal one.
i Have writted the code,
ereg_replace(– ,'-',$value);
But In the database, the filed $value does not have exactly – . There it was like that Big '-', From my key board i can't able to type that perticular character, even i tried combining two hiphans like '--', but it wont helped.
Please give any suggestions to remove that Big '-' from databse and replace normal one
Thank U,
Murali
PHP Programmer