Insert Query fgiveing error
Below is my code for insertion in Mysql DB

  
  

    <?php
    if (isset($_REQUEST['Submit'])) {

    # THIS CODE TELL MYSQL TO INSERT THE DATA FROM THE FORM INTO YOUR MYSQL TABLE

    $sql = "INSERT INTO $db_table(area,schemetype,schemesector,year,desc) values

  ('".mysql_real_escape_string(stripslashes($_REQUEST['area']))."','".mysql_real_escape_string(s

 tripslashes($_REQUEST['schemetype']))."','".mysql_real_escape_string(stripslashes($_REQUEST['s
chemesector']))."','".mysql_real_escape_string(stripslashes($_REQUEST['year']))."','".mysql_real_escape_string(stripslashes($_REQUEST['desc']))."')";
    

    if($result = mysql_query($sql ,$db)) {
    echo '<h1>Thank you</h1>Your information has been entered into our database<br>

    <br><img    src="http://www.webune.com/images/headers/default_logo.jpg"';
    } else {
    echo "ERROR: ".mysql_error();
    }
    } else {
    ?>

    <form method="post" action="">
    Area:<br>
    <input type="text" name="area">
    <br>
    Scheme Type: <br>
    <input type="text" name="schemetype">
    <br>
    Scheme Sector: <br>
    <input type="text" name="schemesector">
    <br>
    Year: <br>
    <input type="text" name="year">
    <br>
    Description: <br>
    <input type="text" name="desc">
    <br>
  

    <input type="submit" name="Submit" value="Submit">
    </form>
    <?php
    }
    ?>


Insert Query fgiveing error
===

Below is my code for insertion in Mysql DB

  
  

    <?php
    if (isset($_REQUEST['Submit'])) {

    # THIS CODE TELL MYSQL TO INSERT THE DATA FROM THE FORM INTO YOUR MYSQL TABLE

    $sql = "INSERT INTO $db_table(area,schemetype,schemesector,year,desc) values

  ('".mysql_real_escape_string(stripslashes($_REQUEST['area']))."','".mysql_real_escape_string(s

 tripslashes($_REQUEST['schemetype']))."','".mysql_real_escape_string(stripslashes($_REQUEST['s
chemesector']))."','".mysql_real_escape_string(stripslashes($_REQUEST['year']))."','".mysql_real_escape_string(stripslashes($_REQUEST['desc']))."')";
    

    if($result = mysql_query($sql ,$db)) {
    echo '<h1>Thank you</h1>Your information has been entered into our database<br>

    <br><img    src="http://www.webune.com/images/headers/default_logo.jpg"';
    } else {
    echo "ERROR: ".mysql_error();
    }
    } else {
    ?>

    <form method="post" action="">
    Area:<br>
    <input type="text" name="area">
    <br>
    Scheme Type: <br>
    <input type="text" name="schemetype">
    <br>
    Scheme Sector: <br>
    <input type="text" name="schemesector">
    <br>
    Year: <br>
    <input type="text" name="year">
    <br>
    Description: <br>
    <input type="text" name="desc">
    <br>
  

    <input type="submit" name="Submit" value="Submit">
    </form>
    <?php
    }
    ?>

