|
Posted by theGreatGnu on 07/08/06 10:22
Hi all,
I am new to PHP, Apache and Mysql. But I least I have managed to
install everything on my home computer on my own and everything is up
and running. I can fetch data from the database and display it. So far,
so good.
However, I'm stuck on an irritating problem. Whenever I connect to
mysql, my PHP pages don't want to finish loading. In the following
example, the page will not finish loading nor display "abc" until I
interupt by pressing "Stop" in the web browser".
<?php
echo 'a';
$link = mysql_connect('localhost', 'user', 'pwd');
echo 'b';
mysql_close($link);
echo 'c';
?>
I am running Apache 2.2.2 and Mysql 5.0.
Any help appreciated.
-Anders Bondensson
[Back to original message]
|