include"../../dsn/conn.php";
include"./statictable.php";
?>
|
include("../top.php"); ?>
|
|
include("../left.php"); ?>
|
|
| include("../bottom.php"); ?> |
|
if(count($_POST)){
foreach ($HTTP_POST_VARS as $key => $value) {
$$key = $value;
}
if ($a =='Submit'){
insert_data($conn);
}
}
function insert_data($conn)
{
global $login_Name,$pwd,$uemail;
$query = "insert into GR_LOGIN_INFORMATION values(1,'$login_Name','$pwd','$uemail')";
echo $query;
$stmt = OCIParse($conn, $query);
if (!OCIExecute($stmt)) {
echo "record saved successfully";
// echo $conn . "Record";
}
/* if (!$stmt) {
$oerr = OCIError($stmt);
echo "Fetch Code 1:".$oerr["message"];
exit;
}
use:
$stmt = OCIParse($conn, $query);
if (!$stmt) {
$oerr = OCIError($conn);
echo "Fetch Code 1:".$oerr["message"];
exit;
}*/
}
?>