List:MySQL on Win32« Previous MessageNext Message »
From:Dinesh Kumar Date:February 13 2007 5:34am
Subject:Re: No output after mysql_connect
View as plain text  
Hi
I have checked the web server log. It contains following error:

[Tue Feb 13 10:54:57 2007] [error] [client 172.16.16.50] PHP
Fatal error:  Call to undefined function mysql_connect() in C:\\Program 
Files\\Apache Software Foundation\\Apache2.2\\htdocs\\index.php on line 5, 
referer: http://172.16.16.50/

Dinesh
----- Original Message ----- 
From: "Tobin Cataldo" <tcataldo@stripped>

> This is probably not a MySQL issue...
> Set your error.log in your php.ini. If you have already set that then the 
> error should show up there. Also check the web server log for errors.
 ----------------------------------------------------------------------
> <?php
> echo 'Hello World';
> $con = mysql_connect('localhost', 'dinesh', 'dinesh');
> if (!$con)
> {
>     die('Could not connect: ' . mysql_error());
> }
> echo 'connected';
> ?>
> ------------------------------------------------------------------------

Thread
No output after mysql_connectDinesh Kumar12 Feb
  • Re: No output after mysql_connectTobin Cataldo12 Feb
  • Re: No output after mysql_connectDinesh Kumar13 Feb
  • Re: No output after mysql_connectJorge Bastos13 Feb
  • Re: No output after mysql_connectDinesh Kumar14 Feb
  • Re: No output after mysql_connectJorge Bastos14 Feb
  • Re: No output after mysql_connectDinesh Kumar14 Feb
    • Re: No output after mysql_connectTobin Cataldo14 Feb
  • Re: No output after mysql_connectJorge Bastos14 Feb
  • Re: No output after mysql_connectDinesh Kumar15 Feb