Quote:
Originally posted by jumpup
Is there an SQL statement l can use from within PHP to extract all the column names, data types etc from a table?
Thanks in advance
|
for table:
mysql_query("show tables");
for columns
mysql_qeury("show columns from TABLENAME");
Try the query into mysql client and you understand how to use it under PHP.
bye from italy