Hi,
I am trying to split an array with array_chunk and having no luck.
I can call the array, display the array, but not as two or more just not working as I understand it .
I am pulling the array from MYSQL and have used count() to count arrays to debug this problem but get strange results.
mysqli_query returns a value of one as expected, and this is where things get strange as mysqli_fetch_array variable counts as two before I even change or try to chunk, and chunk always returns two and will echo the whole array not chunks $array[0] echos but $array[1] is null.
I am either trying to do something that cannot be done or my understanding is wrong. I have read the documentation over and over and anything else I could find with no luck.
Any help would be appreciated.