<?php
if (isset($_REQUEST['search_btn'])) {
$searchbox = $_REQUEST['inputSearch'];
$searchquery = 'SELECT * FROM `userreg` WHERE `userName` LIKE "'."%".$searchbox."%".'" ';
$searchresult = mysqli_query($con, $searchquery);
if(mysqli_num_rows($searchresult)>0){
while($row=mysqli_fetch_array($searchresult)){
}
}
}
?>
"SELECT Title FROM MyData WHERE Title LIKE '%".$search."%'";
Code Example |
---|
Php :: find object in array php |
Php :: |
Php :: php json_encode float |
Php :: laravel create many to many table |
Php :: php exit |
Php :: last insert id mysqli |
Php :: saving an image from pc to php |
Php :: get shipping price of choosen shipping method woocommerce |
Php :: |
Php :: |
Php :: |
Php :: laravel rule unique where |
Php :: convert collection to array laravel |
Php :: how to pass parameters to relationships laravel |
Php :: laravel relationship delete all |
:: |
Php :: Laravel route not calling function of controller |
Php :: php file_get_contents html with special characters |
Php :: laravel casts AsCollection |
Php :: isset |
Php :: laravel crud |
Php :: laravel vreeze |
Php :: upgrade php version to 7.4 or higher |
:: |
Php :: laravel nginx |
Php :: laravel migration mediumint length |
Php :: |
Php :: |
Php :: Remove the Breadcrumb on the Shop Page |
Php :: public variable in php |