home
Shop
data.php
include_once("../../config.php");
$arr=array();
$getdata=$_GET['value'];
$query="select * from ".$getdata;
$valueStore=mysqli_query($con,$query);
while($raw=mysqli_fetch_object($valueStore)){
$arr[]=$raw;
}
header('Content-type:application/json');
echo json_encode($arr);
?>
shop.html
No comments:
Post a Comment
Dharamart.blogspot.in