Seeing that many interviews ask about the design pattern, I have a simple understanding of it. By the way, I made a modification to the previously sealed Reis
Singleton Pattern (singleton Pattern or singleton Pattern)
The singleton pattern ensures that a class has only one instance, and that it instantiates itself and provides this instance t ...
Posted on Sun, 05 Jan 2020 23:05:29 -0500 by jamesdk
Realization function: Lottery
Demand: the backstage controls the probability of winning each prize and the number of prizes
Note: prizes are issued to users in the form of coupons for exchange. The number of coupons should be considered
Take this as an example:Nine palace grid starts with btn and thanks for participating. Seven prizes are set ...
Posted on Fri, 06 Dec 2019 19:23:42 -0500 by mwilson2
Phpstorm is a php integrated development environment software, which integrates many functions, including powerful code editing and debugging, as well as connecting to databases.This paper is about how to use phpstorm to build a wampserver database to access the output data for our development.
1. New Database
Method 1: Click on the g ...
Posted on Thu, 07 Nov 2019 09:54:41 -0500 by JohnResig
Original Link: One article on PHP Xdebug local and remote debugging
I haven't written PHP for a long time, and I haven't used XDebug for a long time. Recently, I have a simple scene to use. Just record the key steps.
$ php -v
PHP 7.3.4 (cli) (built: Apr 8 2019 10:21:33) ( NTS )
Copyright (c) 1997-2018 The PHP ...
Posted on Fri, 10 May 2019 23:01:46 -0400 by abriggs
First of all, we talked about what is one-to-many Association last time. Today we talked about one-to-many association, for example. The tables here are known to follow the previous table. Some places make minor changes. Suppose we now have a user table member and a comment table. A user corresponds to more than one comment, ri ...
Posted on Fri, 10 May 2019 15:40:40 -0400 by jck
Or continue to learn how to edit the content of the form and return the resulting data information
Form size restrictions on files
In the 3145728 value form, in front of the file (), it is smaller than the server.
<! - 1 Form size limit for files - >
Posted on Thu, 31 Jan 2019 02:12:17 -0500 by boardy