note 36050 deleted from function.substr-count by didou
| From: | didou@php.net | Date: | Wed, 24 Sep 2003 07:48:27 +0000 |
| Subject: | note 36050 deleted from function.substr-count by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57024@lists.php.net to get a copy of this message | ||
Note Submitter: house2013@nate.com
----
$del_html=0;
for($i=0;$i<count($broken_tags);$i++){
$tags_open_count=0;
$tags_close_count=0;
$broken_close_tag=ereg_replace("<","</",$broken_tags[$i]);
$tags_open_count=substr_count($read[content],$broken_tags[$i]);
$tags_close_count=substr_count($read[content],$broken_close_tag);
if($tags_open_count != $tags_close_count){
$del_html++;
}
}
if($del_html > 0){
add your source delete html
}