10 lines
464 B
PHP
10 lines
464 B
PHP
<?php
|
|
|
|
require_once 'include/utils/utils.php';
|
|
|
|
|
|
|
|
if($_SERVER['REQUEST_METHOD'] == "POST" and isset($_POST['Enregistrer']))
|
|
|
|
{
|
|
|
|
$adb->pquery("UPDATE vtiger_accountscf SET cf_986=". $_POST['Latitude'] . ",cf_988=". $_POST['Longitude'] ." WHERE accountid=". $_POST['idUser'] ."");
|
|
|
|
header("Location: index.php?module=Accounts&view=Detail&record=". $_POST['idUser'] ."&app=MARKETING");
|
|
|
|
}else{ header("Location: index.php");}
|
|
|
|
?>
|
|
|