php script & mysql

thereds

Diamond Member
Apr 4, 2000
7,886
0
0
can anyone create a php page with a button that creates a table on an existing mysql database?

database details are:
db - db11
username - admin
password - pass1234

create table script is
CREATE TABLE `tendances` (
`id` mediumint(9) NOT NULL auto_increment,
`status` mediumint(9) NOT NULL default '0',
`name` text NOT NULL,
`info` text NOT NULL,
`timestamp` text NOT NULL,
UNIQUE KEY `id` (`id`)
) TYPE=MyISAM AUTO_INCREMENT=5 ;

I don't have phpmyadmin and don't want to bother with it for such a small thing. Plus, I'm a noob at php.

Help!
 

apinomus

Senior member
Dec 14, 2005
394
0
0
Could you just connect to the db through shell or use an install of mysql to connect to it?