How to convert foreach values to datables?

How to convert foreach values to datables?

aveevanaveevan Posts: 2Questions: 1Answers: 0
edited July 2019 in Free community support

I have foreach values,

and my coding:

<?php session_start(); foreach($_SESSION['playlist'] as $key=>$value){ echo $key.' '.$value.''; } ?>

How to display like table structure

This discussion has been closed.