Welcome Guest, Not a member yet? Register   Sign In
Table heading bug?
#3

@lokkook

You could approach this in many ways. One of those ways...

create a method that not only returns the data from the select statement but also returns an array of the headers as well.

i.e.
[
0 => selected data array,
1 => header array
]

Then in the controller you can take the returned results and automatically set your html headers and create your html table.
Reply


Messages In This Thread
Table heading bug? - by lokkook - 02-11-2018, 04:27 AM
RE: Table heading bug? - by dave friend - 02-12-2018, 08:49 AM
RE: Table heading bug? - by lokkook - 02-13-2018, 12:56 AM
RE: Table heading bug? - by php_rocs - 02-12-2018, 10:23 AM
RE: Table heading bug? - by lokkook - 02-13-2018, 12:59 AM
RE: Table heading bug? - by InsiteFX - 02-13-2018, 04:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB