To allow some code like <p> and <br />
you add those tags after like this:
$new_content = strip_tags($old_content, '<p><a><b><br /><input><form><img><textarea><li><ol><ul><table>');
the above example will allow:
<p><a><b><br /><input><form><img><textarea><li><ol><ul><table>