I'm a beginner at php and hopefully someone can help me. I have an array with 10 items and I need the first element to be 1 instead of zero. **I also need to have the array split into 2 columns beside each other with the first 5 elements in one column and the second 5 in the second. I've tried using html but could not get it to work. When I use the slice in php the last element(5) in the first column disappears.. So let's say my array is as follows:
$farmland=array("Duck","Fox","Goose","Cow","Cat","Rabbit","Bull","Mouse","Sheep","Goat");
I need it to appear like this:
Duck Rabbit
Fox Bull
Goose Mouse
Cow Sheep
Cat Goat