1. Use commas to link data to echo $num. "
";
2. Weakly typed function foo ($var 1, $var 2) {}
Function tool (& $var 1,& $var 3) {} operable external variables
Declaring a function, you can use it directly below
3. The difference between "and" ", the single quotation mark does not parse the variable, only is the character.
4. $dir =opendir ("image"); $file =readdir ($dir); Echo $file;
5. include the file under the current directory, if it is HTML display HTML, is txt display txt, is PHP, parsing php
6. include only one time
7.require static include: For example, the tail contains a relatively fixed
Include dynamic include: is in the structure of the function can be included, for example: include "Image/temp.txt";
8. Use '
' '/' can show some of the original formatting
9.var_dump and Print_r Hava the same function, but Var_dum would give the varible information
10.