![]() |
Table generator?
Hi all and happy eastern! =)
I have on my new project quite many tables where I collect infos and such. I'm totally pissed of to write all over those tables and thought that if I need to changes something (class name etc) I have to go throught those all.. no way! So, I know that it is possible to make function which generate table but would need some example of that. Preferences as query and field names.. below is something what I came in my mind but I just can't get it work.. eh.. PHP Code:
|
I think this should work:
PHP Code:
|
Hi Freenity, thanks for answering.
It seems that I'm missed something, I can't get it work.. I even try copy/paste hole php but no. Then this came up. How should I make calling this function? Now I have like this: PHP Code:
// edit: I print_r $fiels and this came up PHP Code:
Thanks for all help! |
| All times are GMT. The time now is 02:07 AM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0