Is it possible to echo database data into 2 html table colums like a loop? I can't make it work. Or do I need a different approach?
I need this to echo like a loop into 2 columns <?php echo $row['data']; ?>
This is what I have:
HTML Table
Col 1 | Col 2
1. aaaa
2. bbbb
3. cccc
4. dddd
5. eeee
6. ffff
7. gggg
8. hhhh
9. iiii
10. jjjj
This is what I want:
HTML Table
Col 1 | Col 2
1. aaaa 6. ffff
2. bbbb 7. gggg
3. cccc 8. hhhh
4. dddd 9. iiii
5. eeee 10. jjjj