I have downloaded a lyrics script, and that works, but the author of that script didnt create a file for submiting lyrics...
i have tried to create a script but im not a php pro so i ask help from daniweb, to help & create that ""submit.php""...
the one who does this will have a lifetime linkback in all my sites...
now here is the script, if anyone wants to download abd test...
Download:
http://lyrics.whdot.com/sscript.zip
this is the sql that u have to execute on your db if u want to run the lyrics script
CREATE TABLE `lyrics` (
`id` int(5) NOT NULL auto_increment,
`title` varchar(250) NOT NULL default '',
`artist` varchar(250) NOT NULL default '',
`album` varchar(250) NOT NULL default '',
`lyrics` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM;
-- --------------------------------------------------------
--
-- Table structure for table `submit`
--
CREATE TABLE `submit` (
`id` int(5) NOT NULL auto_increment,
`artist` varchar(255) NOT NULL default '',
`title` varchar(255) NOT NULL default '',
`album` varchar(255) NOT NULL default '',
`lyrics` text NOT NULL,
`comments` text NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM ;
now submit.php needs these fields
Artist (text box) ---> `artist`
title (text box) ---> `artist`
album (text box) ---> `album`
lyrics (text area) ---> `lyrics`
sumbiter (text box) ---> `comments` (or create a new column `sumbiter`)
---> = this info goes to column
this is not that hard... i tried but i didnt succes