neilfurry Posted November 8, 2017 Share Posted November 8, 2017 Hi Mate, Im having problem displaying data from database using loop. i need to put all even numbers to the left and odd numbers to the right. so if i have one page it should display 2,1,4,3 instead of 1,2,3,4 and so on.. attached is the output i want to come up. Cheers! Link to comment Share on other sites More sharing options...
requinix Posted November 8, 2017 Share Posted November 8, 2017 And your code is...? Link to comment Share on other sites More sharing options...
phpmillion Posted November 8, 2017 Share Posted November 8, 2017 IS it really mandatory to post the same duplicated question over all web forums you can find online? https://forums.digitalpoint.com/threads/array-arangement-using-loop.2823851/#post-19521456 Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.