Does anyone know how to connect to a MySQL database using php?
I know it seems like a simple question but I am learning(on my own) and have set up a database using phpMyAdmin and MySQL on my hosted server.
Unfortunately everytime I run a php script it can't seem to connect to the database.
Plus how do you connect using OS X to a web server so you can access the MySQL database directly?