2007fld2007-03-01 20:25:02
Installed Apache and PHP5, 我能在localhost下看到我的php文件.
Then installed MySQL, 在command-line window 下能用 mysql -u root -p
然后type in 进入 MySQL.

可就是in a php file:
$c = mysql_connect("localhost", "root", "mypassword");
在browser 中总是显示:
Fatal error: Call to undefined function mysql_connect()

我用 a debug function : function_exists 检查了一下, 的确没有mysql_connect这个function.
请求帮助,多谢!
2007fld2007-03-01 21:06:28
I worked it out. Thanks.