03-21-2008, 03:57 PM
|
#3 (permalink)
|
|
The Contributor
Join Date: Sep 2007
Location: Finland
Posts: 45
Thanks: 3
|
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:
maketable("'id', 'f1', 'f2', 'f3', 'f4'","SELECT * FROM test");
// edit:
I print_r $fiels and this came up
PHP Code:
Array ( [0] => Array ( [0] => id, f1, f2, f3, f4 ) )
So I have to explode $fields.. ok..
Thanks for all help!
|
|
|