Quote:
Originally Posted by JaTochNietDan
Like any other query, it's the same thing.
pawn Код:
mysql_query("SELECT column_name FROM information_schema.columns WHERE table_name = 'adminperks'"); mysql_store_result();
new columns[10];
while(mysql_fetch_row(columns)) printf("Column name: %s",columns);
mysql_free_result();
|
Yea but this will get all the fields independent of wether they are set to 1 or not.