Jump to content
Sign in to follow this  
steffanih

grid attributes question

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?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×