title: Trouble adding a variable as a table name SQL/PHP
body: <p>I am having some issues with my code. It has worked previously, but now it seems to not want to work at all.</p>
  
  <p>The PHP line is as follows: (all sensitive data has been altered for protective purposes)</p>
  
  <pre><code>&lt;?php
  $servername = "*****";
  $server_username = "*****";
  $server_password = "*****";
  $dbName = "*****";
  
  $tableName = $_POST["tableNamePost"];
  $variable1 = $_POST["variable1Post"];
  $variable2 = $_POST["variable2Post"];
  $variable3 = $_POST["variable3Post"];
  $variable4 = $_POST["variable4Post"];
  $variable5 = $_POST["variable5Post"];
  
  $conn = new mysqli($servername, $server_username, $server_password, $dbName);
  
  if(!$conn)
  {
      die("Connection Failed" .mysqli_connect_error());
  }
  $sql = "INSERT INTO ".$tableName." VALUES ('".$variable1."', '".$variable2."', '".$variable3."', '".$variable4."', '".$variable5."', '0', '0', '0', '0')";
  $result = mysqli_query($conn, $sql);
  ?&gt;
  </code></pre>
  
  <p>All variables for tableName(s) are matching as they are static variables in the program itself. The C# code segment is as follows: (again, all sensitive data has been altered for protective purposes)</p>
  
  <pre><code>public string tableName;
  public int var1;
  public string var2;
  public string var3;
  public string var4;
  public int var5;
  public float var6;
  public float var7;
  string AddToTableURL = "http://urlofthe.php"; //The actual link has been tested and works fine.
  
  public void FunctionInQuestion()
  {
      float i = (var7 / 60.0f * var6);
      var5 = Mathf.FloorToInt(i);
      WWWForm form = new WWWForm();
      form.AddField("tableNamePost", tableName);
      form.AddField("dayNumberPost", var1.ToString());
      form.AddField("dueDayPost", var2);
      form.AddField("timeOfTheDayPost", var3);
      form.AddField("choreNamePost", var4);
      form.AddField("pointsOnOfferPost", var5.ToString());
      WWW www = new WWW(AddToTableURL, form);
      NextFunction();
  }
  </code></pre>
  
  <p>The problem I am having is that my C# that defines the variables is running through correctly, but I cannot determine as to whether the PHP is receiving the variables or not. Every time I run the scripts, nothing is added to the databases.</p>
  
  <p>Has something been missed or is incorrectly written? I have been over the code for a few days now and cannot find the issue.</p>