ThinkPHP 5 model usage history – replication


TP provides many functions, which are very common, but they are not necessarily suitable for themselves. They need to be “flexible”

For example, it is annoying to get the field value of the data table on the model object of the query result. I copied it:

class MTBase extends Model

This work adoptsCC agreement, reprint must indicate the author and the link to this article

Recommended Today

Beautify your code VB (VBS) code formatting implementation code

However, does have many new functions that VB6 does not have. The automatic typesetting of code is one, which is the function we want to realize today – VB code formatting.Let’s look at the effect: Before formatting: Copy codeThe code is as follows: For i = 0 To WebBrowser1.Document.All.length – 1 If WebBrowser1.Document.All(i).tagName = […]