File manager - Edit - /home/autoph/public_html/connect/home/prf_SaveCompanyAddress.php
Back
<?php include 'core/init.php'; //$connect_error = 'Sorry, we\'re experiencing connection problem. Please try again later... Thank you!'; //mysql_connect('localhost','root','aee1024') or die ($connect_error); //mysql_select_db('db_vts') or die($connect_error); //error_reporting(1); 193 * 1067 * 215 $prfDate = date_create() ->format("Y-m-d"); $prfTime = date('H:i:s'); $myDate = date_create() ->format("Y-m-d"); $activeID=$user_data['u_id']; if(isset($_POST['done'])){ $compAddress = mysql_escape_string($_POST['compAddress']); $selCompanyID = mysql_escape_string($_POST['selCompanyID']); //mysql_query("INSERT INTO prf_uom(description,status) // VALUES('{$txtUOM}' ,'1')"); mysql_query("UPDATE `vts_company` SET `comp_address`='$compAddress' WHERE `comp_id`='$selCompanyID'"); echo '<script>alert("Update complete.")</script>'; } exit(); ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings