TP5
文章平均质量分 58
伏魔fLy
等我头发掉的差不多的时候,我就去开一个生发馆
展开
-
TP5 一对多关联查询
A表 car :购物车 [ goodid:商品ID sizeid:规格ID ] B表 commondity : 商品表 [(id 对应goodid) 商品名称:title] C表 size : 规格表 [(id对应sizeid) 规格名称:text ] 在购物车页面,我们需要查询到用户购物车里面的商品...原创 2018-05-07 18:06:13 · 8673 阅读 · 2 评论 -
TP5 分页样式
控制器代码:在页面添加css:<style type="text/css"> .text-l{ text-align: center; } .pagination{text-align:center;margin-top:20px;margin-bottom: 20px;} .pagination li{margin:0px 10px; bor...原创 2018-05-07 18:07:08 · 559 阅读 · 1 评论 -
TP5导入数据库
html页面代码 theme:<form method="post" action="{:url('Index/savestudentImport')}" class="form-signin" enctype="multipart/form-data" > <div> <select name="themeid"&原创 2018-05-07 18:07:57 · 1340 阅读 · 0 评论