In my document I recive and $_GET, this array I handle and build my query. Then I try to run it. I get a blank page.
if (isset($_GET['submit'])) {
  
  $skip = 0;
  foreach($_GET as $key => $value)
  {
   if($skip++ > 1) {
       if(!empty($value))
       {
        $link = new mysqli('IP-NUMBER', 'LOGIN', 'PASSWORD', 'DATABASE');
           $values = explode("_", $key);
        $insert_query = "INSERT INTO texts (language, parent_id, text) VALUES (?, ?, ?)";
        
        if($stmt = $mysqli->prepare($insert_query)){
         $stmt->bind_param("sis", $values[0], $values[1], $value);
         $stmt->execute();
         $stmt->close();
        }
       }
   }
  }
 }if (isset($_GET['submit'])) {
  
  $skip = 0;
  foreach($_GET as $key => $value)
  {
   if($skip++ > 1) {
       if(!empty($value))
       {
        $link = new mysqli('IP-NUMBER', 'LOGIN', 'PASSWORD', 'DATABASE');
        
           $values = explode("_", $key);
        $insert_query = "INSERT INTO texts (language, parent_id, text) VALUES ('".$values[0]."', ".$values[1].", '".$value."')";
        
        if ($result = $mysqli->query($insert_query)) {
         echo "Yes!";
        }
       }
   }
  }
 }None of the above work, both produce an blank page. And yes $value[1] is an int.
What easy noob mistake am I making here?
 
    