#!/usr/bin/php
<?php
$mysqli = new mysqli("localhost", "my_user", "my_password", "my_db"); //very important that the host is set to localhost
$result = $mysqli->query("SELECT * FROM my_table");
?>

