
March 21st, 2003, 10:11 PM
|
|
|
|
Join Date: Apr 2007
Location: WI
Posts: 247
Time spent in forums: < 1 sec
Reputation Power: 2
|
|
|
mysql - describe Vs field info - save me some time
ok, I made a newbie error a little while ago.
I wrote a complex admin tool which uses all sorts of meta info to produce a very flexible admin gui.
Now, when it came to adding, for some reason, whiuch I did was read the field info from one of the items in the database, and then used these and then allowed the user to populate the new record.
Sadly, when there are no items in the table, the I don't get any field info!
I know I can use the describe but is there any way I can easy convert the format of the describe into the same as field info, so I don't have to add a whole bunch of code/
probably not, but a guy can hope right!
thanks
|