File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/API/STOCK_NEWS/V2NEW/GetAnnouncedResult.php
Back
<?php require_once('Connection.php'); $sql = "SELECT `id` AS 'ID',`heading` AS 'HEADING',`date` AS 'DATE',`link` AS 'LINK' FROM `qresult` ORDER BY `id` DESC LIMIT 1000"; $result = $con->query($sql); $News["RESULTS"] = array(); while($row = $result -> fetch_assoc()) { $New = array(); $New = $row; array_push($News["RESULTS"],$New); } $con-> close(); $News["success"] = 1; echo json_encode($News); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings