File manager - Edit - /home/autoph/public_html/ltms-upload/plugins/dropzone/min/smsQRPass.php.tar
Back
home/autoph/public_html/pms_v1/smsQRPass.php 0000644 00000001576 15025207755 0015131 0 ustar 00 <?php include_once("../../../cfg/conn.php"); include ("../functions/users.php"); if(isset($_POST['send'])){ $count =0; $SelectedRecordID = $_POST['SelectedRecordID']; $getAreaList = "SELECT * FROM `event_registration` WHERE deleted ='0' AND `event_id`='$SelectedRecordID'"; $getArea = mysqli_query($conn,$getAreaList); $statRow = mysqli_num_rows($getArea); if($statRow > 0){ while($row = mysqli_fetch_array($getArea)){ $count = $count + 1; $uName = $row['fname']; $lName = $row['lname']; $mobile = $row['mobile']; $recID = $row['id']; $message = "https://api.qrserver.com/v1/create-qr-code/?size=250x250&data=$recID"; itexmoAA($mobile,$message); } } echo "There are total of " . $count ." records processed"; $conn->close(); } ?>