hello im learning mysql and i want to know how would i make this into install.php so u dont have to manually install
what would be install.phpCREATE TABLE `uploads` (
`id` int(10) unsigned NOT NULL auto_increment,
`whenuploaded` datetime NOT NULL default '0000-00-00 00:00:00',
`ipaddress` varchar(15) NOT NULL default 'unknown',
`imageloc` varchar(255) NOT NULL default 'unknown',
`imagesize` int(10) unsigned default NULL,
`imagetype` varchar(30) default NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;
Moved by Agesilaus (Forum Moderator) from Designing and Development: Please post in the correct forum next time.![]()







Reply With Quote


