D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
thread-self
/
root
/
proc
/
self
/
root
/
proc
/
self
/
root
/
home
/
shubmkcj
/
urbane.createerp.com
/
Filename :
gettax.php
back
Copy
<?php session_start(); if(isset($_SESSION["source_id"])){ $source_id = $_SESSION['source_id']; } $q = $_GET['q']; include 'config.php'; $sql="SELECT * FROM category WHERE category = '".$q."' AND source_id = '$source_id'"; $result = mysqli_query($conn,$sql); $row = mysqli_fetch_assoc($result); echo json_encode($row); mysqli_close($conn); ?>