File manager - Edit - /home/autoph/public_html/pms_v1/pef/updatePCPPeriod.php
Back
<?php include_once("../../../cfg/conn.php"); include ("../functions/users.php"); // error_reporting(0); if(isset($_POST['period'])){ $pcpID = $_POST['pcpID']; $newPeriod = $_POST['newPeriod']; $updatePeriod = "UPDATE `pcp_headers` SET `period_count`=$newPeriod WHERE `id` ='$pcpID'"; $newP = mysqli_query($conn,$updatePeriod); if ($conn->query($newP) === TRUE) { } echo "PCP period has been set to ".$newPeriod ; $conn->close(); } ?>
| ver. 1.4 |
.
| PHP 7.3.33 | Generation time: 0 |
proxy
|
phpinfo
|
Settings