To know that the data in the table is not recorded are dynamic
I would be very grateful if someone could take the time request function
this is the table
mysql:
Code: Select all
DROP TABLE IF EXISTS `oc_order_option`;
CREATE TABLE `oc_order_option` (
`order_option_id` int(11) NOT NULL AUTO_INCREMENT,
`order_id` int(11) NOT NULL,
`order_product_id` int(11) NOT NULL,
`product_option_id` int(11) NOT NULL,
`product_option_value_id` int(11) NOT NULL DEFAULT '0',
`name` varchar(255) NOT NULL,
`value` text NOT NULL,
`type` varchar(32) NOT NULL,
PRIMARY KEY (`order_option_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
I wonder if he is from
class ModelCheckoutOrder extends Model {
foreach ($product['option'] as $option) {
}
} ?
thank you very much friends!