PHP & MySQL (II) -- getting tired of learning, php tutorial
Madan, everything can be done together... I'm so happy to go to school every day at noon .. Good evening, but sleepy ........
Ii. PHP scripting language
What are the variables and Data Types? They are especially basic and easy to ignore.
<? Phpdefine ("PI", 3.1415926); // constant definition echo "circumference rate = ". PI. "<br/> ";//. is also used for $ var assignment and so on if (PI <3 & PI> = 2) {$ var = "shit ";} else {echo "f ** k ". "
All are mentioned above. The summary is: constants, connectors, user-defined functions, type conversion, type judgment, file reference, constant characters, short circuit design, var_dump.
Relatively messy.
Let's end with an example. Create a multiplication table by yourself.
<?php//Chapter 2's example which is a chengfabiaofunction chengfabiao($var){ for ($row=1;$row<=$var;$row++){ for($queue=1;$queue<=$var;$queue++){ $answer=$row*$queue; echo "$row*$queue=".$answer." "; } echo "
Let's change it. Basic things have to be reviewed frequently. I think so.