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 :
Instamojo (Credit/Debit Card & UPI) :
Paytm : +91 7870687200
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 –
♥ Myself On FB –
♥ Instagram –
♥ Twitter –
Nguồn:https://valiosys.com/
Xem thêm Bài Viết:
- Hướng Dẫn Cài Đặt Và Crack 3DMAX 2018
- Descargar e Instalar Vehicle Tracking 2017 2018 y 2019
- AutoCAD 2018 – Create 2D Projects, Filling, and Text [COMPLETE]*
- Curso de AutoCAD 2018 – Aula 01/45 – Do Básico ao Avançado – Autocriativo
- Sketchup 2017 Full crack – Hướng dẫn tải và cài đặt SketchUp 2017 and full crack
Source code
https://dcodemania.com/autocomplete-search-php-ajax/
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