I am currently displaying items from a mySQL database.
Initially, I used tables and it was working perfectly fine.
However, I have now shifted to using flexbox because apparently, tables are not the ideal approach.
Each item is stored in an unordered list.
The issue I am facing is that the list continues to be displayed vertically instead of horizontally across the page.
Does anyone have any simple flex-box list code they could share? Responsive design can wait until I figure this out!
Below is a snippet of the PHP code:
while($row = $results->fetch_array()) {
print '<section><ul class="flexcontainer"><li class="flexcontent">
'.$row["ID"].'
</li>';