I have been working on a website recently that needs to contain databases with things like emails (used as user name), passwords, and other information on the user. The problem I have been having is accessing the database using PHP. When I view this file in my browser, it only shows "connecting..." and doesn't continue with anything. I called the tech support, and that is the information they said to use, but its not working. I figured even if the information wasn't correct, it should go to the IF statement that displays an error, but that doesn't happen. Here is code that I have attempted to use to connect to the database. The domain is registered with Register.com if that helps. As you can tell, I am very new to PHP and SQL, so any help would be greatly appreciated.
/* Program: mysql_up.php
 * Desc:    Connects to MySQL Server and 
 *          outputs settings.
 echo "<html>
       <head><title>Test MySQL</title></head>
echo "connecting...";
 $cxn = mysqli_connect($host,$user,$password);
echo "connected";
 $sql="SHOW STATUS";
 $result = mysqli_query($cxn,$sql);
 if($result == false)
    echo "<h4>Error: ".mysqli_error($cxn)."</h4>";
   /* Table that displays the results */
   echo "<table border='1'>
   for($i = 0; $i < mysqli_num_rows($result); $i++) 
     echo "<tr>";
     $row_array = mysqli_fetch_row($result);
      for($j = 0;$j < mysqli_num_fields($result);$j++) 
         echo "<td>".$row_array[$j]."</td>\n";
   echo "</table>";