Home > php教程 > php手册 > 购物车(基于session,codeigniter购物车类)

购物车(基于session,codeigniter购物车类)

WBOY
Release: 2016-06-07 11:42:30
Original
1251 people have browsed it

购物车(codeigniter购物车类)
发布一个TP3.1.3购物车
基于session实现,购物车类使用codeigniter的.
购物车数据表结构
CREATE TABLE `x_cart` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`user_id` bigint(20) unsigned DEFAULT '0',
`cartdata` blob COMMENT '购物车数据',
`updatetime` int(10) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='购物车';

附件 rar.rar ( 4.45 KB 下载:541 次 )

AD:真正免费,域名+虚机+企业邮箱=0元

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template