I have the following PHP array:
$array = array( 'uname', '=', 'lizabd', 'pass', '=', '225555')
now i want to loop every 3 elements like this way
uname = lizabd pass = 225555
How can i do this?
I know that I can slice it using this for the first element:
$slice = array_slice($array, 3);
But how to do it using Loop?
source share