Home > Backend Development > PHP Tutorial > dz的使用有关问题

dz的使用有关问题

WBOY
Release: 2016-06-13 12:54:17
Original
890 people have browsed it

dz的使用问题

本帖最后由 h420943302 于 2012-11-27 14:33:10 编辑 之前一直用thinkphp  对dz不了解 我问一下 基础的应用
比如 在thinkphp这个  
<br />
$a=M('Table')->order(RAND())->limit(20)->select();<br />
$this->assign('a',$a);<br />
Copy after login

在dz中是怎么表示的 
这里最主要的就是两点 在dz中 mysql的查询语句要怎么写
还有一个就是 在dz中  变量怎么传给模板
或者 发个  dz完全开发手册  也行

------解决方案--------------------
呵呵,框架的弊病就显现出来了!
离开拐杖就不会走路了

建议你从原生 php 重新来过
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