关于购买记录

2016-07-07 15:21 来源:www.chinab4c.com 作者:ecshop专家



现在网站的购买记录时间才一个月的。
我想增加到一年的。
我是新站。一定要多购买记当才行。
我搜索了整个论坛。
发现在有办法如下:
goods.php的购买记录数据库读取时
AND ' . time() . ' - oi.add_time < 2592000
includes/lib.insert.php
都是后面的时间加0,或者增大一点点的。
可是首页就出现代码错误了。
现在希望有个好的办法帮忙解决一下~~谢谢啦。

回答:
那你修改 - oi.add_time < 2592000 数字。变为 24*3600*365就可以

Warning: Cannot modify header information - headers already sent by (output started at /home/ladyeff1/public_html/includes/lib_insert.php:1) in /home/ladyeff1/public_html/includes/cls_session.php on line 116

Warning: Cannot modify header information - headers already sent by (output started at /home/ladyeff1/public_html/includes/lib_insert.php:1) in /home/ladyeff1/public_html/includes/init.php on line 162

Warning: Cannot modify header information - headers already sent by (output started at /home/ladyeff1/public_html/includes/lib_insert.php:1) in /home/ladyeff1/public_html/includes/init.php on line 163

Warning: Cannot modify header information - headers already sent by (output started at /home/ladyeff1/public_html/includes/lib_insert.php:1) in /home/ladyeff1/public_html/includes/cls_template.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at /home/ladyeff1/public_html/includes/lib_insert.php:1) in /home/ladyeff1/public_html/includes/lib_main.php on line 1090

谢谢楼上的热心人。我修正了,可还是出现在这样的错误。

谢谢netaxcess
问题解决。