Explode and get datas
/*get datas for EXAM NAME*/
$examid_text="id='examid'>";
$examid_text_text1="";
$examid_text_array=explode($examid_text,$typeword);
for($i=1;$i {
$examid_text_rec1=$examid_text_array[$i];
$examid_text_array1=explode($examid_text_text1,$examid_text_rec1);
$examid_text_rec2=$examid_text_array1['0'];
$examid_text_rec3=str_replace("'","",$examid_text_rec2);
$examid_text_rec4= html_entity_decode(strip_tags($examid_text_rec3));
$code_entities_match = array('','','','','','');
$code_entities_replace = array('','','','','','');
$EXAMNAME = str_replace($code_entities_match, $code_entities_replace, $examid_text_rec4);
$examid_text_len=strlen($EXAMNAME);
$exam[$i]=$EXAMNAME;
}
$examid_text="id='examid'>";
$examid_text_text1="";
$examid_text_array=explode($examid_text,$typeword);
for($i=1;$i
$examid_text_rec1=$examid_text_array[$i];
$examid_text_array1=explode($examid_text_text1,$examid_text_rec1);
$examid_text_rec2=$examid_text_array1['0'];
$examid_text_rec3=str_replace("'","",$examid_text_rec2);
$examid_text_rec4= html_entity_decode(strip_tags($examid_text_rec3));
$code_entities_match = array('','','','','','');
$code_entities_replace = array('','','','','','');
$EXAMNAME = str_replace($code_entities_match, $code_entities_replace, $examid_text_rec4);
$examid_text_len=strlen($EXAMNAME);
$exam[$i]=$EXAMNAME;
}