PHP Page-> SQL?

How would you make a page to update all of your SQL without having to login to the phpmyadmin? Of course, it wouldn’t be live all the time. I just hate the hassle of having to login to phpmyadmin when I know I can do it from a page. Can you guys point me in the right direction?

You create a page with code that connects to your MySQL database and runs the queries you desire. Basically.

Check the example here: