Introduction - If you have any usage issues, please Google them yourself
In this document you have connection to db written in PHP .
You can use it in files where you need connection to DB, so you write require_once( file_name.php ),
and after that use the global variable that handle the connection of mysql to DB.