YII2 related learning records, alert and other landscaping, confirm asynchronous, session Flash and Widget use (vi), yii2confirm
Well, the system comes with alert, confirm and other pop-up boxes are ugly, as a Yan control, this can endure?
Here I
These two days to write a demo, need to use the hint and jump, the main page requirements are not high, feel no need to use AJAX,JS, and so on, so study how to prompt in PHP and jump.First used the following:The code is as follows:echo " ";Alert
This article for you to introduce the use of PHP pop-up prompt box and jump to the new page, which is what you think of the redirect, the following example can be referred to the next two days to write a demo, need to use the prompt and jump, the
This article for you to introduce the use of PHP pop-up box and jump to the new page, which is what we think of the redirect, the following example can be consulted
These two days to write a demo, need to use the hint and jump, the main page
1 Using JS implementation
Copy CodeThe code is as follows:
if (! $this->userinfo) {
$alert _msg = "Activation link error";
echo "";
Redirect (Base_url ());
Die
}
2 PHP implementations
Copy CodeThe code is as follows:
if (! $this->userinfo)
Job hunting and recruitment often involve interview and written test, as a PHP programmer, more or less will have similar experience ... The following is my collection and collation of the PHP interview topic, I hope to help colleagues to find a
1. What is the difference between get and post submission methods in a form?
A: Get is a send request HTTP protocol to receive via URL parameter delivery, while post is entity data that can be submitted with a large amount of information through a
G is a pattern modifier that indicates multiple lookups in the entire string.Match method to find content that matches the reg regular match
"AB23839CD". Match (/\d+/)
Blank \s (Including Space return tab, etc.)\f matches the page
The following is the html test code:
Copy codeThe Code is as follows:
autoComplete
Below is the jQuery plug-in:Copy codeThe Code is as follows:; (function ($ ){/* Plugin */$. Fn. autoComplete = function (o ){If
PHP Classic Questions collection, PHP Classic questions collection
This article has analyzed the PHP classics question in detail. Share to everyone for your reference. Specific as follows:
Do a bit of PHP on the network topic, unknowingly do now ...
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.