Posted by PDannyD on 03/04/07 20:43
brett wrote:
> I'm running PHP5 on Windows Vista with mysql 5.2. I have a simple php
> file with
>
> <?
> $dbc = mysql_connect ();
> ?>
>
> When I run the file, I get this error:
> Fatal error: Call to undefined function mysql_connect() in E:\www
> \mysite\connecttest.php on line 2
>
> PHP seems to be installed correctly. What could I be doing wrong?
What does phpinfo() bring up? If you can't see MySQL in there then it needs
to be installed/configured.
Navigation:
[Reply to this message]
|