PHP4 and MySQL for starters

wxdqz

New Member
I need help starting off getting PHP and MySQL to work together!

I have access to my company's host server. PHP is installed and working. I have put up various .php test scripts to print things.

I also have access the to PHPMYADMIN interface where I have added a new database, and user, and password, and created many test records.

Now my problem is accessing the database (MySQL) from the PHP. All of my books say to use a root user and password, which I cannot find out.

Can the php be placed in any folder in the website? Can the php then access the MySQL database from anywhere as long as I know my personal user name and password, and database name?

Any help to get me started would be appreciated!
 
Back
Top