1Learn PHP in 3 minutes
2PHP environment installation takes 5 minutes
3Everyone can code in 6 minutes
4 variables 8 minutes
1) A variable is an empty box with a name. The process of a box holding content is called assignment (=)
2) Different types of boxes (types of variables) can hold different things
5 operators 10 minutes
+,-,*,/,=
6 Three major control structures11 minutes
Sequence, loop, control
7You’ve learned to program in 6 minutes
Once you learn variables, operators, and control, you will learn to program
8 variable data types 7 minutes
Variables: starting with $ as flag
9 strings 6 minutes
$str = "I love you";//Form of double quotes
$str0 = 'I love you';//Form of single quotes
In single quotes, only two escapes are recognized, \' is ' \\ is \
10 arrays 8 minutes
$arr =array("001"=>"li","002"=>"zhang")
The array is the cabinet. The number of the cabinet specifies a specific cabinet and the things are placed in the cabinet
You need a key to find something, and a key to put something in (key ---->value)
11GET POST form data 10 minutes
12 Guestbook publishing function 11 minutes
13Guestbook: 17 minutes to read messages
14 Learning methods: How to learn PHP efficiently? 19 minutes
Author: bad_boy
Link: https://www.jianshu.com/p/dfa48c5a2cac
Source: Jianshu
Copyright belongs to the author. For commercial reprinting, please contact the author for authorization. For non-commercial reprinting, please indicate the source.
Statement:
All resources on this website are contributed and published by netizens, or reprinted by major download sites. Please check the integrity of the software yourself! All resources on this website are for learning and reference only. Please do not use them for commercial purposes, otherwise you will be responsible for all consequences incurred! If there is any infringement, please contact us to delete and remove it. Contact information: admin@php.cn