Home > Backend Development > PHP Tutorial > php ecshop lib_insert.php使用问题

php ecshop lib_insert.php使用问题

WBOY
Release: 2016-06-02 11:28:51
Original
1542 people have browsed it

ecshopphpsmarty

我在includes/lib_insert.php 中加入了一个function insert_cart_goods()方法,内容如下:
$cart_info = get_info()//这个是获取数据库中购物车的信息
$GLOBALS['smarty']->assign('info', $cart_info);
$info = $GLOBALS['smarty']->fetch('library/info.lbi');
return $info;

但是保存运行就整个页面都无法显示,求救!

Related labels:
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template