实例
{pc:get sql="SELECT a.*,b.canshu,b.fengzhuang,b.specification FROM sy_product AS a LEFT JOIN sy_product_data AS b ON a.id=b.id where title like '%$q%'" num="9" moreinfo="1" page="$page" }
运行实例 »
点击 "运行实例" 按钮查看在线实例
博客列表 >phpcms 搜索页面 自定义字段显示 sql语句
{pc:get sql="SELECT a.*,b.canshu,b.fengzhuang,b.specification FROM sy_product AS a LEFT JOIN sy_product_data AS b ON a.id=b.id where title like '%$q%'" num="9" moreinfo="1" page="$page" }
点击 "运行实例" 按钮查看在线实例