zoukankan
html css js c++ java
每日总结
1.今天继续学习php,
字符串变量
,
运算符
,条件语句
<?php
$txt1
=
"Hello world!"
;
$txt2
=
"What a nice day!"
;
echo
$txt1
.
" "
.
$txt2
;
?>
<?php
$x
=
10
;
$y
=
6
;
echo
(
$x
+
$y
)
;
//
输出16
echo
'
<br>
'
;
//
换行
echo
(
$x
-
$y
)
;
//
输出4
echo
'
<br>
'
;
//
换行
echo
(
$x
*
$y
)
;
//
输出60
echo
'
<br>
'
;
//
换行
echo
(
$x
/
$y
)
;
//
输出1.6666666666667
echo
'
<br>
'
;
//
换行
echo
(
$x
%
$y
)
;
//
输出4
echo
'
<br>
'
;
//
换行
echo
-
$x
;
?>
if
(条件)
{
条件成立时要执行的代码;
}
查看全文
相关阅读:
关于idea中启动clean时Process terminated报错
关于idea启动jsp时候Please, configure Web Facet first!
关于Javaweb中jstl的foreach不能显示数据的问题
关于Javaweb中报错信息Cause: java.sql.SQLException: Unknown initial character set index '255' received from server.解决办法
关于使用idea 进行druid的数据库连接报错解决Cannot resolve com.mysq.jdbc.Connection.ping method. Will use 'SELECT 1' instead
关于c3p0中显示数据库连接超时处理方法
havel定理
Skier
扩展欧几里德算法(待补充)
next_permutation(全排列)
原文地址:https://www.cnblogs.com/chenghaixiang/p/14909681.html
最新文章
20151008jq3
20151007jq2结果集处理
20151006jq1基础 选择器
20151005js3
20150929js2
20150928js01
20150924html5
20150923css3+浏览器兼容性
hdu5974 A Simple Math Problem(数学)
Codeforces Round #552 (Div. 3) F. Shovels Shop(dp)
热门文章
Mail.Ru Cup 2018 Round 3 B. Divide Candies
Codeforces Round #484 (Div. 2)Cut 'em all!(dfs)
Codeforces Round #551 (Div. 2) D. Serval and Rooted Tree (树形dp)
CodeChef
Codeforces Round #505 (rated, Div. 1 + Div. 2, based on VK Cup 2018 Final) B. Weakened Common Divis
Codeforces Round #404 (Div. 2) D. Anton and School
Codeforces Round #527 (Div. 3) C. Prefixes and Suffixes
牛牛与数组 (简单dp)
关于idea在maven中配置tomcat9方案
关于idea中maven报错Failed to execute goal org.apache.tomcat.maven:tomcat7-maven-plugin:2.2:run
Copyright © 2011-2022 走看看