Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

grid attributes question


steffanih
 Share

Recommended Posts

Is it possible for this contribution to work if my server doesn't allow this:?

$query="CREATE TABLE IF NOT EXISTS `products_grid` (
 `products_grid_id` int(11) NOT NULL auto_increment,
 `products_id` int(11) default NULL,
 `row_options_value_id` int(11) default NULL,
 `col_options_value_id` int(11) default NULL,
 `grid_values_price` decimal(15,2) default NULL,
 `grid_quantity` int(4) NOT NULL,
 `grid_status` tinyint(1) NOT NULL,
 PRIMARY KEY  (`products_grid_id`),
 KEY `products_id` (`products_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=239" ;

 

I ran the sql manually to see if it would work. I think I have all the code correctly placed. When I click on the "create grid" button, it logs me out of admin. Any ideas how to solve this issue?

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
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.

 Share

×
×
  • Create New...