
PHP
文章平均质量分 67
howlowl
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
编码问题python3 mysql
(一) https://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000/001431664106267f12e9bef7ee14cf6a8776a479bdec9b9000 Unicode标准也在不断发展,但最常用的是用两个字节表示一个字符(如果要用到非常偏僻的字符,就需要4个字节)。现转载 2018-01-27 15:40:59 · 600 阅读 · 0 评论 -
Global variables in PHP
global variable is variable declared outside any function, not local to any function. <?php $x = 2; function test1(){ global $x; echo $x; } function test2(){ global $x; //can also be re原创 2018-01-30 02:51:45 · 158 阅读 · 0 评论 -
PDO
mysql: <?php //1. Create a database connection $connection = mysql_connect("localhost", "root", "****"); if(!$connection){ die("Database connection failed: " . mysql_error()); } //2. Selec转载 2018-01-25 21:12:19 · 191 阅读 · 0 评论 -
Where to put DOCTYPE html in php files?
As others have said,!DOCTYPEis necessary in php scripts that are outputting HTML. If you were creating an image or executing a bash file or something, the story would be different. As for where it ...转载 2019-03-10 05:31:41 · 131 阅读 · 0 评论