PHP array output

Posted 1 year ago by hecate0211

i have an array like this

    $arrays = array(array('a','b','c','d','e'), array(1,2,3,4,5));

and i want to show this array like this [['a','b','c','d','e'],[1,2,3,4,5]]

i have try using print_r and dd but it cant show up like that.. can u help me?

Please sign in or create an account to participate in this conversation.

Reply to

Use Markdown with GitHub-flavored code blocks.