File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/API/Finance/SectorStocks/SectorList.php
Back
<?php include_once("../ConnectToMarketData.php"); $sql = "SELECT `sect_id` AS 'ID',`sect_name` AS 'NAME',`svglink` AS 'SVGLINK' FROM `sector_table`"; $rows = $con->query($sql); $sectors["SECTORS"] = array(); if($rows->num_rows > 0) { while($row = $rows->fetch_assoc()) { $serctor = array(); $serctor = $row; array_push($sectors["SECTORS"],$serctor); } $sectors["success"] = 1; echo json_encode($sectors); } ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings