foreach($info as $job_list){
echo strip_tags($job_list->Job_description).'<br>';
}
输出:
<!DOCTYPE html> <html> <head> </head> <body> testtesttesttesttesttesttesttesttest </body> </html>
但我想打印
输出:
testtesttesttesttesttesttesttesttest
答案 0 :(得分:1)
试试这个
foreach($info as $job_list){
echo strip_tags(html_entity_decode($job_list->Job_description));
echo "<br>";
}