
{"id":6112,"date":"2011-10-18T19:41:50","date_gmt":"2011-10-18T19:41:50","guid":{"rendered":"http:\/\/www.beautifulwork.org\/?p=6112"},"modified":"2011-10-18T19:41:50","modified_gmt":"2011-10-18T19:41:50","slug":"strip_tags-php-api","status":"publish","type":"post","link":"https:\/\/www.trueangle.org\/index.php\/2011\/10\/18\/strip_tags-php-api\/","title":{"rendered":"strip_tags   PHP API"},"content":{"rendered":"<h5><u> A Programming API <\/u><\/h5>\n<p><code><br \/>\n&lt;?php $string= strip_tags($row['post_content']); ?&gt;<br \/>\n<\/code><br \/>\n<\/p>\n<h5><u> An Explanation <\/u><\/h5>\n<pre>\nstrip_tags \u2014 Strip HTML and PHP tags from a string\n\nstring strip_tags ( string $str [, string $allowable_tags ] )\n\nThis function tries to return a string with all NUL bytes, HTML and\nPHP tags stripped from a given  str. It uses the same tag stripping\nstate machine as the fgetss() function.\n\n\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>A Programming API &lt;?php $string= strip_tags($row[&#8216;post_content&#8217;]); ?&gt; An Explanation strip_tags \u2014 Strip HTML and PHP tags from a string string strip_tags ( string $str [, string $allowable_tags ] ) This function tries to return a string with all NUL bytes, HTML and PHP tags stripped from a given str. It uses the same tag stripping &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/www.trueangle.org\/index.php\/2011\/10\/18\/strip_tags-php-api\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;strip_tags   PHP API&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/6112"}],"collection":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/comments?post=6112"}],"version-history":[{"count":0,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/posts\/6112\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/media?parent=6112"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/categories?post=6112"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.trueangle.org\/index.php\/wp-json\/wp\/v2\/tags?post=6112"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}