Why can't I access mysql database with c# and php?
<p>I'm having trouble remotly accessing a mysql database, for an android application in c#.
Here is my C# script.</p>

<pre><code>void mSignUpButton_Click(object sender, EventArgs e)
    {
        WebClient client = new WebClient();
        Uri uri = new Uri("http://hitachipickmeup.dx.am/SQLQuery.php");
        NameValueCollection parameters = new NameValueCollection();
        parameters.Add("Name", textName.Text);
        parameters.Add("Email", txtEmail.Text);
        parameters.Add("Password", txtPassword.Text);
        client.UploadValuesAsync(uri, parameters);

    }
</code></pre>

<p>And my PHP script:</p>

<pre><code> &lt;?php
 $servername = "fdb13.awardspace.net";
 $username = "2100274_pickmeup";
 $password = "*************";
 try 
 {
     $conn = new PDO("mysql:host=$servername;dbname=2100274_pickmeup",      $username, $password);
     $conn-&gt;setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
     echo "Connected successfully";
}
catch(PDOException $e)
{
   echo "Connection failed: " . $e-&gt;getMessage();
}


if (isset($_POST['Name']) &amp;&amp; isset($_POST['Email']) &amp;&amp;  isset($_POST['Password']))
{
   //Get the POST variables
   $mName = $_POST['Name'];
   $mEmail = $_POST['Email'];
   $mPassword = $_POST['Password'];

   //Insert new contact into database
   $query = 'INSERT INTO Contact_info (Contact_Name, Contact_Email, Contact_Password) VALUES ("$mName", "$mEmail","$mPassword")';
   $result = mysqli_query($query);
}
 ?&gt;
</code></pre>

<p>When I go to <a href="http://hitachipickmeup.dx.am/SQLQuery.php" rel="nofollow">http://hitachipickmeup.dx.am/SQLQuery.php</a>, it says "connected successfully".</p>

<p>Phpmyadmin(database empty):<a href="http://i.stack.imgur.com/WOu6l.png" rel="nofollow">http://i.stack.imgur.com/WOu6l.png</a></p>