Jump to content
Killersites Community

Recommended Posts

I've been studying SQL and PHP, but something isn't clicking in my brain about how to use then together. Could someone explain the connection and formatting PHP code with SQL queries or refer me to a tutorial please?

Share this post


Link to post
Share on other sites

Hi,

PHP has some libraries / functions that are built into PHP that can speak to databases. But databases don't understand PHP, but it does understand SQL. SQL is the coding language of databases. 

So, you use the special PHP functions to send SQL commands to the database.

Makes sense?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×