Blogger Information
Blog 15
fans 0
comment 0
visits 12586
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
数据库基础
峰回掠影的博客
Original
712 people have browsed it

+=   -=   *=   /= 

上面的运算符 会把初始值和右边的值进行处理,处理结果 在复制给左边的变量

 

if  适合不确定的判断

switch 适合确定多少个值的判断

 

数据库

插入数据库数据

INSERT  INTO   '数据库名'( ‘字段’,‘age’,‘’)

VALUES('数据',‘24 ’,‘数据’)

修改数据

UPDATE  ‘表面’SET  '字段名'=‘修改内容’

WHERE   条件  ''

 

删除 

DELETE ROM   '表面'

WHERE 'ID' = '1'

查询

SELECT  * FROM  '表名'

WHERE ' ID' = 4

ORDER BY   ID  asc  正序

 desc 倒序

LIMIT   条

 

 

CREATE  

UPDATE

RETRIEVE

DELETE

 

 

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