php get data from mysql
Hello.
I use a text box to insert data to mysql.
The box is secured with the following:
mysql_real_escape_string(stripslashes(trim(htmlent ities(strip_tags( $_POST['text_box'] )))));
When i type in tʰe it stores it into the database but when showing,it appears:
"& # 6 8 8 ;" ( with no space beetween letters because here it shows correctly if i have no space)
where is the solution?
Last edited by lfireee; 07-06-2011 at 11:09 AM.
|