massprogress Posted March 15, 2006 Share Posted March 15, 2006 I want to be able to have a user type html in a field (think CMS) and submit this to a mysql database and then display properly on a page when called from the database. How can I translate the html so it will make the trip intact and not give php errors? Link to comment https://forums.phpfreaks.com/topic/4995-inserting-html/ Share on other sites More sharing options...
hitman6003 Posted March 15, 2006 Share Posted March 15, 2006 [a href=\"http://www.php.net/mysql_real_escape_string\" target=\"_blank\"]http://www.php.net/mysql_real_escape_string[/a] Link to comment https://forums.phpfreaks.com/topic/4995-inserting-html/#findComment-17649 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.