Posted by Duderino82 on 04/10/06 16:56
I was wondering if there is a way to collect the names of the fields
from a specific table. I think the soluction is to be researched in the
sql code but maybe someone knows of a way to o so directly from php.
Example.
Table: Categories
Field1: type1
Field2: type2
Field3: type3
Field4: type4
Field5: type5
What I want is to be able to have an array (or an object) that cointans
the name of the fields:
array[0]=type1
array[1]=type2
array[2]=type3
array[3]=type4
array[4]=type5
Any suggestions?
Navigation:
[Reply to this message]
|