// Set up my SQL connection We went over how to setup a connection to your database by using the mysqli() function on PHP. Once we had done that, using the databases that we had created with one of the examples a while back, we are making a small todo list site where we are using templating to interact with our database. It will show if something is overdue as well. You can use a function to do any queries that you would do on the command line on PHP. Use query() for queries that don't need user-defined values. Use MYSQLI_ASSOC to get column names in results.