$arr=array("apple","orange",
"banana","grape",
"pineapple");
I want to display the array in a html table using php (foreach loop preferred), two columns per row like this:
apple orange
banana grape
pineapple
Many thanks to you all.
All solutions are very good, I need to put it to vote
"banana","grape",
"pineapple");
I want to display the array in a html table using php (foreach loop preferred), two columns per row like this:
apple orange
banana grape
pineapple
Many thanks to you all.
All solutions are very good, I need to put it to vote