File manager - Edit - /home/cipherteam/htdocs/cipherteam.in/backup2609/APPS/eKisan/API/Gujarats_city.php
Back
<?php require_once('Connection.php'); $sql = "SELECT `gujarat_city`.`name` AS 'NAME',`gujarat_city`.`ename` AS 'ENAME',`gujarat_city`.`fchar` AS 'FCHAR',`gujarat_city`.`link` AS 'LINK',`gujarat_city`.`last_updated` AS 'LAST_UPDATE' FROM `gujarat_city` ORDER BY `gujarat_city`.`No`"; $result = $con->query($sql); $News["Citys"] = array(); while($row = $result -> fetch_assoc()) { $New = array(); if($row['LAST_UPDATE'] == '0/0/') { $row['NAME'] = $row['NAME']." (ભાવ ઉપલબ્ધ નથી)"; } $New = $row; array_push($News["Citys"],$New); } $con-> close(); $News["success"] = 1; echo json_encode($News); ?>
| ver. 1.4 |
Github
|
.
| PHP 8.2.9 | Generation time: 0.01 |
proxy
|
phpinfo
|
Settings