<?php
$trackID=$_GET['songID'];
$slot=$_GET['slot'];
?>
<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title>updateSong</title>
    <script src="jquery.min.js"></script>
  </head>
  <body>
    <form method="post" action="./NPquery.php">
      <input type="text" name="trackID" placeholder="trackID" value="<?php echo $trackID; ?>">
      <input type="text" name="slot" placeholder="slot" value="<?php echo $slot; ?>">
      <input type="submit" id="submit" value="Submit" name="save">
    </form>

    <script type="text/javascript">
    $(document).ready(function(){
        $("#submit").click();
    });
    </script>
  </body>
</html>
