File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/API/Finance/MarketAPI/Rights.php
Back
<?php require_once("Connection.php"); $sql = "SELECT `cname` AS 'NAME',`ratio` AS 'RR',`fv` AS 'FV',`premium` AS 'PR',`adate` AS 'ADATE',`rdate` AS 'RDATE',`edate` AS 'EDATE' FROM `rights`"; $rows = $con->query($sql); $rights["RIGHTS"] = array(); if($rows->num_rows > 0) { while($row = $rows->fetch_assoc()) { $div = array(); $div = $row; array_push($rights["RIGHTS"],$div); } $rights["success"] = 1; echo json_encode($rights); } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings