Explode Content within specific HTML element

You should be able to get it to work by changing it to this:

$closing_p = '</div>';

I hope I didn’t miss something

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)