File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/API/Finance/MarketAPI/Splits.php
Back
<?php require_once("Connection.php"); $sql = "SELECT `cname` AS 'NAME',`oldfv` AS 'OLDFV',`newfv` AS 'NEWFV',`sdate` AS 'SDATE' FROM `splits`"; $rows = $con->query($sql); $splits["SPLITS"] = array(); if($rows->num_rows > 0) { while($row = $rows->fetch_assoc()) { $div = array(); $div = $row; array_push($splits["SPLITS"],$div); } $splits["success"] = 1; echo json_encode($splits); } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings