want to insert $_post data in to temporary table
<p>here is my code is there any syntax error, kindly guide me </p>

<pre><code>$degree = $_POST['edu'];

$board  = $_POST['bu'];

$result = $_POST['rdd'];

$marks  = $_POST['tm'];

$maketemp = "CREATE TEMPORARY TABLE temp_table_1 ( `degree` varchar(100),`board` varchar(100),`resultd` varchar(100), `marks` varchar(100),)";

mysql_query($maketemp);

$insertemp = "INSERT INTO temp_table_1 (degree, board, resultd, marks ) VALUES ('$degree', '$board', '$resultd', '$marks',) ";

mysql_query($insertemp);

$show =  mysql_query("SELECT * FROM temp_table_1");


if($show)
{
    while($row = mysql_fetch_assoc($show)){

        echo $row['degree'];
    }
</code></pre>
