G:
/
PleskVhosts
/
seeonsoft.com
/
hp.thefalconunited.com
/
up file
home
<?php session_start(); $entered_by = $_SESSION['empids']; include("config.php"); include('example.php'); date_default_timezone_set('Asia/Muscat'); $de = date('d-m-Y H:i:s'); $sno =''; $tdate = $_POST['tdate']; $task = $_POST['editor1']; $frmemp = $_POST['frmemp']; $toemp = $_POST['toemp']; $con = mysql_connect("50.62.209.50:3306","iseecrm","iseecrm123!@#"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("iseecrm", $con); $sql = "INSERT INTO task_reminders VALUES ('', '', '$tdate', '', '$task', '$frmemp', '$toemp', 'Awaiting Action', '', '', '', '$entered_by', '$de')"; if (!mysql_query($sql,$con)) { die('Error: ' . mysql_error()); } else $f = 1; if($f == 1) { ?> <script type="text/javascript"> alert("Successfully Saved "); window.location = 'thingstodo.php'</script> <?php } ?> </body> </html>