[ad_1]
https://i.ytimg.com/vi/23QAc7PjpiI/hqdefault.jpg
Hello World! Today I’, showing you how to create an Autocomplete search record from the database using Bootstrap 4, PHP, MySQLi Object Oriented and Ajax.
If you like my works and my video tutorials then you can donate me some amount. You can donate through these links :
Paypal : https://www.paypal.me/wolfmania
Instamojo (Credit/Debit Card & UPI) : https://www.instamojo.com/@wolfmania
Thanks for watching this video. If you like this video then hit like button, share this video, And Subscribe my Channel. Also like my Facebook page for latest updates.
♥ Facebook Page – https://www.facebook.com/dcodemania
♥ Myself On FB – https://www.facebook.com/sahil4rock
♥ Instagram – https://www.instagram.com/sahil4rock
♥ Twitter – https://twitter.com/dcodemania
Original source
26 responses to “Autocomplete Search Record From Database Using Bootstrap 4, PHP, MySQLi & Ajax”
Source code
https://dcodemania.com/autocomplete-search-php-ajax/
@DCodeMania Sir can you please share the source code for this ……I need this for my final year project plz help me sir I have been searching for this from last 2 months plz share the code sir ..I will be very thankful to you nightcoremixneptune@gmail.com
Sir,
Can you Tell Me How I Can get Image after Search like ID,Country Name,city, Please Sir Help Me.
That burp on 20:36
Wow, just what i have been looking for, thanks for saving my ass, much appreciated, can you please help me with source code? My email addy is tokunbo576@gmail.com
source Code?
Bro thanks a lot….2 din se Mai pareshan tha , Jo muje chayiye tha exact 100% o apke video me Mila….thanks a lot…
Thanks a lot sir help to make dynamic search thanks thanks…
Sir can you please share the source code for this ……I need this for my final year project plz help me sir I have been searching for this from last 2 months plz share the code sir ..I will be very thankful to you theflash.ab101@gmail.com
Great video! I am looking to add more parameters such as id#, first name, and last name to the search list. Could you give me an idea of how I would go about that?
Thank you so Much brother…😉❤
thanx
what and setup and font did you use, i like it.
Here is an Article for the same :- https://shriniket.home.blog/2020/01/20/integrate-auto-complete-to-your-web-application/
Bro i have an error pls help
Hello your video is really nice.
but please tell how you created that database and how it will integrate with the php file.
and please provide source code
Can you explain more about the part ($result->num_rows>0) from action.php ?
Hello can you help me with this error please
Parse error: syntax error, unexpected '$query' (T_VARIABLE) in C:xampphtdocsauto_compaction.php on line 8
Here is the source code for action.php:
===============================
<?php
$conn = new mysqli("localhost","root","","php_auto");
if($conn->connect_error){
die("Failed to connect!".$conn->connect_error);
}
if(isset($_POST['query'])){
$inpText=$_POST['query']
$query="SELECT country FROM auto_comp WHERE country LIKE '%$inpText%' ";
$result = $conn->query($query);
if($result->num_rows>0){
while($row=$result->fetch_assoc()){
echo "<a href='#' class='list-group-item list-group-item-action border-1'>".$row['country']."</a>";
}
}
else{
echo "<p class='list-group-item border-1'>No Record</p>";
}
}
?>
Really Perfect video its very useful
Congratulations! Your tutorial is very good. Can you put link in the searched word? Once you select, do you already switch to the search page?
share the source code pls. 😅
Awesome Bro…
Very informative great
Perfect work I was struggling for to set text in text box after selecting thanks very informative video dude
bro an other question ,,,,,,, how to show
newlabel tag with every fresh post dynamically for specific time ? it will be hide automatically when post get old like 1 day or after or 8 hours on our commands ,,,,,,,,,,,, ?????????? with timestamp ?thanks for my request you accepted <3