Blogger Information
Blog 14
fans 0
comment 0
visits 8308
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
PHP基本语法-流程控制循环 - PHP培训九期线上班
海涛
Original
525 people have browsed it

练习get传值

实例

<?php
$var = $_GET['v'];

if ($var >= 10000){
    echo '买电脑';
} else{
    echo '睡觉';
}

运行实例 »

点击 "运行实例" 按钮查看在线实例

image.png

练习流程控制 (手写)

image.png


练习计数循环 (手写)

image.png

Correcting teacher:天蓬老师天蓬老师

Correction status:qualified

Teacher's comments:电脑不错, 希望学得更好
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments
Author's latest blog post