I have an issue passing string value using query string in PHP. I am using a PhpMyAdmin database.
Below is my query string :
http://192.168.0.106/PHP/webservice/comments.php?city_town='Vadodara'
and my php code is as below :
if(isset($_GET["city"])){
@$city = $_GET["city"];
//echo $city;
$query = "select * from shop_detail where city_town ='". $city ."' ";