Tag Archives: code in wordpress posts

Use pre Tag to Format Your PHP Code in WordPress Posts

This entry is part 2 of 2 in the series PHP Programming

Taking advice from Writing Code in Your Posts, I am now using only the pre tag to fromat the PHP code in WordPress posts. It will look like this: if (isset($_POST[‘h_sys_submitted’])){ $h_sys = safeEscapeString($_POST[“h_sys_submitted”]); } else{ $h_sys = ”; } … Continue reading

Posted in PHP | Tagged | Leave a comment