Insert shortcode before and after a list automatically

While I’m not completely sure what you’re trying to accomplish, you can use the following to programatically use a shortcode:

echo do_shortcode('[DDET]Content goes here[/DDET]');

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