Hi guys,
I have a the following table defined:-
CREATE TABLE galleries (
id smallint(4) NOT NULL auto_increment,
date timestamp(8) NOT NULL,
type set('Gallery','News','Help') NOT NULL default 'News',
active set('0','1') NOT NULL default '1',
PRIMARY KEY (id);
Using PHP, how do I read from the table definition the options available for each of the 'set' types.
I want to create a script that can read the table and create a form for it automatically.
Code snippets v-e-r-y welcome😃
Cheers all