Dz usage problems this post was last edited by h420943302 from 2012-11-2714: 33: 10 and has been using thinkphp & nbsp; do not know dz & nbsp; I would like to ask about the use of basic & nbsp; applications such as & nbsp; in thinkphp & nbsp; & nbsp dz
This post was last edited by h420943302 at 14:33:10 on February 27,. I have been using thinkphp to understand dz. I will ask about the basic applications.
For example, in thinkphp
$ A = M ('table')-> order (RAND ()-> limit (20)-> select ();
$ This-> assign ('A', $ );
How is it represented in dz?
The most important thing here is how to write mysql Query statements in dz.
Another is how to pass variables to the template in dz.
Or you can send a full dz Development Manual.
------ Solution --------------------
Haha, the framework's ills are revealed!
Leave the crutches and you will not walk.
We suggest you try again from native php