Blogger Information
Blog 11
fans 0
comment 0
visits 6520
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
PHP初步基础学习-2018年8月21日
碎笺的博客
Original
636 people have browsed it
<meta charset="utf-8">
<?php
//变量申明
$firstname = "wiliam";
//输出变量
echo $firstname;

echo <<<OUTPUTSTRING
可以放入大量的html
<br>
这里是一个长字符串输出,无法直接识别变量
OUTPUTSTRING;

//转义
/*" \n" ==>换行

"\r"==>回车

"\t"==>水平制表符

"\\"==> 反斜杠

"\$" ==>美元符号

" \' "==>单引号

" \" " ==>双引号*/

初学基础,认识了变量的申明及转移字符和输出数据的方式。

以下为手写作业截图:

TIM图片20180822154750.jpg


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