Welcome Guest, Not a member yet? Register   Sign In
table->add_row doesn't work
#1

[eluser]Unknown[/eluser]
Between calls to table->add_rows(), the data in table->rows[] does not persist.
If I call table->add_row() multiple time I still end up with count($this-rows) being zero.
Therefore when I call table->generate() I get "Undefined Table Data" because both $heading and $rows are empty.
I have checked the the content of $rows right before add_rows() returns and the data is there, but by the time the function is called again the data is gone.

I have checked and the class has been loaded and constructed.

Can a server setting have anything to do with this?

Any help is appreciated.





Theme © iAndrew 2016 - Forum software by © MyBB