php - html special characters source code -
i'm inserting database code looks this.
<h2>hello</h2> <?php echo "foo";?> how can prevent code executing header 2 , changing
<?php echo 'foo';?> is there way execute code , disable code on command? (i'll need able source code user can edit have written)
answers or links answers or hints find answers appreciated.
try referring post.
when doing that, use php function mysql_escape_string().
Comments
Post a Comment