<?php header("Access-Control-Allow-Origin: *"); ?> <?php $row = $_POST["postdata"]; // $ecodedata= base64_decode($row); $b= json_decode ($row); $lid= $b->lid; $lcode= $b->lcode; $fbox= $b->fbox; $abox= $b->abox; echo "$lid $lcode $fbox $abox"; //echo "H:l$hbx1 $hbxv1-$hbx2 $hbxv2-$hbx3 $hbxv3 $row"; //echo "H:l$attchmentid $attchment"; echo $abox; ?> <?php require_once "configs.php"; if ($lid) { $sql = "update lisa set lcode='".$lcode."' ,fbox = '".$fbox. "'" ." ,attachmentv= '" .$abox."' where id=".$lid; $sql = "update lisa set lcode='".$lcode."' ,fbox = '".$fbox. "'" ." ,attachmentv= '" .$abox."' where id=".$lid; $query = $db->exec($sql); echo $lid. $db->changes(); } ?>
Edit file:zlisaupdate.php905