successfully connected to remote server

make Ajax calls from desired page to 'dbconnection.php' on server and
pass in 'sql' parameter with SQL query as its value