View Single Post
Share |
  #1 (permalink)  
Old 04-12-2012, 07:06 AM
Sean101's Avatar
Sean101 Sean101 is offline
Member
 
Join Date: 08-10-11
Location: Scotland, UK
Posts: 30
iTrader: 0 / 0%
Question Uploaded A Topsites Script To My Forum & Dont Understand This Part..

Hey..
I just uploaded a topsites script to my forum, some of it worked, but its not showing correctly.
My Forum Home Page: http://www.xboxlivefan.org/
My Forum TopSites Page: http://partnerforums.xboxlivefan.org/
TopSites Script I Used: http://www.webestools.com/scripts_tu...-web-site.html

I read the instructions in the file i download the script in.
It says..

Quote:
To use this system, you must create a "topsite" table in your database.
This is the query to execute:

--
-- Table structure for table `topsite`
--

CREATE TABLE `topsite` (
`id` int(11) NOT NULL,
`name` varchar(55) NOT NULL,
`url` varchar(255) NOT NULL,
`description` varchar(255) NOT NULL,
`banner` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`votes` int(11) NOT NULL,
`status` varchar(2) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

Then, you have to edit the config.php file by using the right values in the variables.
How do i create a table in my database?
Can you please also tell me what it means when it say i have to edit the config.php file by using the right values in the variables?
It you could it would be appreciated..
... Thanks
 
Reply With Quote