Re: [PHP] Need help with PHP / MySQL connect problem

2005-07-17 Thread Mikey
Matt Darby wrote: Using this at the top of your script will allow PHP and MySQL to interact. $_POST['dbconn']=mysql_select_db("database_name", mysql_connect("server_name","user_name","password")); It does sound like you have notices and warnings turned off in php.ini: Find php.ini (not sure w

Re: [PHP] Need help with PHP / MySQL connect problem

2005-07-17 Thread Matt Darby
Using this at the top of your script will allow PHP and MySQL to interact. $_POST['dbconn']=mysql_select_db("database_name", mysql_connect("server_name","user_name","password")); It does sound like you have notices and warnings turned off in php.ini: Find php.ini (not sure where it installs to

[PHP] Need help with PHP / MySQL connect problem

2005-07-17 Thread Linda H
Hi, I'm running MySQL 4.0.21, Apache 2.0.52 and PHP 5.0.2 on a Windows XP system. I can run scripts with PHP and HTML statements and see correct output in my browser. But when I try to connect to MySQL I get nothing, including no error messages. One book I have says to run the following scri