Blogger Information
Blog 10
fans 0
comment 0
visits 6409
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
11月15日作业-GET传值、流程控制与计数循环
AA射手座
Original
570 people have browsed it

GET传值

  1. <?php
  2. $code = $_GET['code'];
  3. if($code == 1){
  4. echo '我接收到了1';
  5. }else if($code == 2){
  6. echo '我接收到了2';
  7. }else{
  8. echo '我没有接收到1或者2';
  9. }
  10. ?>

流程控制


计数循环


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