below is showing codes for application which is doesn,t store data into application table
i cannot do anything further without storing the data into that particular table
it would be great if u could help me on that
thank you
<?php
session_start();
?>
<html>
<head>
<title> Post application details into the database </title>
</head>
<body bgcolor = "#e8e8f4">
<center><h3><font face="Geneva, Arial, Helvetica, sans-serif"> Application Confirmation </font></h3></center>
<hr>
<br>
<?php
//connect to database
$Link = mysql_connect("localhost", "root", "kannan"
or die(mysql_error());
mysql_select_db("industrial_placement",$Link) or die(mysql_error());
// select database and table
$db_name = "industrial_placement";
$table_name = "application";
echo $_SESSION['job_ref_number'];
$date = date("Y-m-d"
;
echo $job_ref_no;
$app_ref_number = 'APP'.$_SESSION[job_ref_number];
echo $app_ref_number ;
//Inserting the data into application
$query = ("INSERT INTO application( app_ref_number, s_id,
job_ref_number, app_date, app_status)
VALUES ('$app_ref_number', '$_SESSION[s_id]', '$_SESSION[job_ref_number]', '$date', 'open')"
;
$result = mysql_db_query($db_name, $query, $Link );
mysql_close($Link);
?>
<div style = "position:absolute; left:370; top:600;">
<a href="javascript: history.go(-2)">Vacancy List</a>
</body>
</html>
kaan