Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Extra Pages - Infobox V3_2.1


Guest

Recommended Posts

Hi! I am extremely confused at some of the literature in this contrib. As stated, I need to "create a new table in the database". So I went to the database_tables.php and added the following code:

DROP TABLE IF EXISTS `pages`;

CREATE TABLE `pages` (

`pages_id` int(11) NOT NULL auto_increment,

`pages_title` varchar(64) NOT NULL default '',

`pages_html_text` text,

`sort_order` int(3) default NULL,

`status` int(1) NOT NULL default '1',

PRIMARY KEY (`pages_id`)

) TYPE=MyISAM AUTO_INCREMENT=9 ;

Link to comment
Share on other sites

And when I take out the table, I get this on the front page:

1146 - Table 'jkaley_osc1.pages' doesn't exist

 

select pages_id, pages_title, pages_html_text, sort_order, status from pages where status = 1 and pages_title = 'Index'

 

[TEP STOP]

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...