I have this very frustrating problem
I'm trying to make a dynamic table with only 3 columns per row. So every 3 items, I need a new row.
This code works fine, in fact, some may benefit from it:
Now, here is my problem. The array I created above is static. I want a dynamic array that is created from MySQL values. How can I do that? I can provide more details if needed, I'm just not sure what I need to make this happen.
Is there a MySQL function that will do this for me? mysql_fetch_array only fetches an array for one row in the MySQL table unless I loop it. I was thinking I could use PHP's array appending functions.
Please, I would love any help