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? Quote 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] Quote Link to comment https://forums.phpfreaks.com/topic/4995-inserting-html/#findComment-17649 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.