<?php
ini_set('track_errors',1);
$conn = @mysql_connect("localhost","username","password");
echo "出错了,错误原因是:".$php_errormsg;
?>
ini_set('track_errors',1);
$conn = @mysql_connect("localhost","username","password");
echo "出错了,错误原因是:".$php_errormsg;
?>
2016-11-30
没看懂...
$p = "PII"; 这是将“PII”这个值(即字符串)赋值给$p,中间也没有再出现PII,为什么到最后输出PII时它的值是3.14???求点拨!
因为下面定义常量时,$P被赋值为3.14
$p = "PII"; 这是将“PII”这个值(即字符串)赋值给$p,中间也没有再出现PII,为什么到最后输出PII时它的值是3.14???求点拨!
因为下面定义常量时,$P被赋值为3.14
2016-11-30
全部改完后出现了这个情况
Index of /
[ICO] Name Last modified Size Description
[ ] text.php 2016-11-28 10:49 29
[DIR] test01/ 2016-11-28 11:43 -
[DIR] test02/ 2016-11-28 11:43 -
Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80
Index of /
[ICO] Name Last modified Size Description
[ ] text.php 2016-11-28 10:49 29
[DIR] test01/ 2016-11-28 11:43 -
[DIR] test02/ 2016-11-28 11:43 -
Apache/2.4.9 (Win32) PHP/5.5.12 Server at localhost Port 80
2016-11-29