I am still in the process of learning PHP and would like to seek for your assistance regarding my concern. I already know how to display an array into an html table which i usually do with my forms. Then suddenly i came into this issue wherein there should be a fix table with a fix number of rows (lets say about 5 rows).
Now if i would display information coming from a specific user and that user only has 2 rows of data from mysql then i will only have 2 rows displayed on my html table.
What happens:
*****************
** A ** B ** C **
*****************
** 1 ** 2 ** 3 **
*****************
** 4 ** 5 ** 6 **
*****************
What i want as an output:
*****************
** A ** B ** C **
*****************
** 1 ** 2 ** 3 **
*****************
** 4 ** 5 ** 6 **
*****************
** ** ** **
*****************
** ** ** **
*****************
Is there a neat way to code this. Your idea is already a big help; I am not asking for codes but you can somehow guide me on what i can do here in order to achieve the output i want.
Thanks.