php中记录用户访问过的产品,在cookie记录产品id,id取得产品信息
1.测试方法www.xxx.com/test.php?content_id=自己定义,如:44 实现代码如下: $content_id = array();//1.创建一个数组 $content_id[] = $_GET['contentid']; //2.对接受到的ID插入到数组中去 if(iss
1.测试方法www.xxx.com/test.php?content_id=自己定义,如:44 实现代码如下: $content_id = array();//1.创建一个数组 $content_id[] = $_GET['contentid']; //2.对接受到的ID插入到数组中去 if(iss
1.先上图,效果如下:2.使用方法实现代码如下: var loader=new Ajaxloader(this._ContentID,{Text:'loading......',Top:50}); loader.Show();3.代码列出: 实现代码如下: /* 处理进度条,异步加载器 */ var
实现代码如下:/*获取图片新闻列表*/ function getPicNews($number=5){ require_once 'include/content_class.php'; $Content=new Content(); $sql='select contentid as id,tit