Re: No output after mysql_connect
"Dinesh Kumar" <[email protected]> Tue, 13 Feb 2007 11:04:27 +0530
| Newsgroups | gmane.comp.db.mysql.windows |
|---|---|
| Organization | denabank |
| Message-ID | <009201c74f30$a1413c20$321010ac@Dinesh> |
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" <[email protected]> > 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'; > ?> > ------------------------------------------------------------------------ -- MySQL Windows Mailing List For list archives: http://lists.mysql.com/win32 To unsubscribe: http://lists.mysql.com/[email protected]