GIF89a;
| Direktori : /home/serb/www/ |
| Current File : /home/serb/www/harasment-process.php |
<? session_start();
include("lib/globals.php");
include("lib/common.php");
include("lib/functions.php");
?>
<?
if($_POST)
{
/*
$enddate=$_POST['endyear'].'-'.$_POST['endmonth'].'-'.$_POST['enddate'];
$sql_postid="SELECT * FROM escort_details where user_id='".$_SESSION['userid']."'";
$res_postid=execute_query($sql_postid);
$row_postad=mysql_fetch_array($res_postid);*/
$hesdate=$_POST['startyear'].'-'.$_POST['startmonth'].'-'.$_POST['startdate'];
$coment=addslashes($_POST['details']);
$sql_tour="Insert into harrasiment(id,userid,date,customer_name,phone,coments)VALUES('','".$_SESSION['userid']."','$hesdate','".$_POST['cushandle']."','".$_POST['phone']."','$coment')";
execute_query($sql_tour);
?>
<script language="javascript">
location.href="escort-harrasiment.php";
</script>
<?
}