I have a php file which doesnt want to work in the browser.
<!DOCTYPE html>
<html lang="en">
    <head>
        <title>Insert A New Skateboard</title>
        <meta charset="utf-8">
        <meta name= "keywords" content = "skateboard">      
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js">
</script>
<![endif]-->
    </head>
    <body>
    <div id="page">
        <form name="variable_key" action="insertskateboard.php" method="post"> <!--bring back the form if there is error in the user entry -->
        <p>Skateboard ID: <input type="text" name="skateboardid" size="15" maxlength="15" /></p>
        <p>Deck: <input type="text" name="deck" size="20" maxlength="40" /> </p>
        <p>Trucks: <input type="text" name="trucks" size="10" maxlength="20" /> </p>
        <p>Wheels: <input type="text" name="wheels" size="10" maxlength="20" /> </p>
        <p>Image: <input type="text" name="image" size="60" maxlength="50" /> </p>
        <p><input type="submit" name="submit" value="submit" /></p>
    </form>
    <?php
      include('function.php');
      $skateboardid = trim($_POST['skateboardid']);
      $deck = trim($_POST['deck']);
      $trucks = trim($_POST['trucks']);
      $wheels = trim($_POST['wheels']);
      $image = trim($_POST['image']);   
      /*$query_age = (isset($_GET['query_age']) ? $_GET['query_age'] : null);*/
      if (!empty($skateboardid) || !empty($deck) ||!empty($trucks) || !empty($wheels) || !empty($image))
      {
        // Create the insert query
        $query = "insert into skateboard values('$skateboardid', '$deck', '$trucks', '$wheels', '$image')";
        // Execute the query and capture the number of rows altered
        $result_set = mysql_query($query, RMITconnect());
        print "<h4>You have successfully added a skateboard to the database </h4>";
        print "<h4>To see the skateboard you just added, click on the <a href= 'products.php'> Products </a></h4> ";        
    } else {
      print "<h4>You have not entered the form information </h4>";
    }
  ?>
    </div>
  </body>
</html>
When trying to open the insertskateboard.php, I receive the error:  
Notice: Undefined index: skateboardid in /home/sh5/s3520755/public_html/insertskateboard.php on line 25
 
     
     
     
    