57: How to create a search field with PHP and MySQLi | PHP tutorial | Learn PHP programming

57: How to create a search field with PHP and MySQLi | PHP tutorial | Learn PHP programming

Dani Krossing

7 лет назад

257,221 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@crowstew
@crowstew - 06.10.2023 09:07

"The Author does have a big D"

Ответить
@WasikaHausaNews
@WasikaHausaNews - 03.07.2023 13:34

Nice thank you so much

Ответить
@joelcortez3527
@joelcortez3527 - 27.06.2023 05:55

Thank you very much for this video, it is very easy to understand.

Ответить
@bravehotsauce
@bravehotsauce - 19.04.2023 18:06

Thank you!

Ответить
@mayankkushwaha815
@mayankkushwaha815 - 02.12.2022 06:08

I am getting an error as following:

mysqli::real_connect(): (HY000/1045): Access denied for user 'pma'@'localhost' (using password: YES)

How do i fix it?
Pease help!!

Ответить
@MetaAndrej
@MetaAndrej - 27.11.2022 04:16

This is amazing. Thank you so much. This helped me in my MBA course

Ответить
@bodatawwab6558
@bodatawwab6558 - 05.08.2022 23:37

Your Tutorial is very useful, please keep going 🙏🙏

Ответить
@s.sedighi
@s.sedighi - 24.07.2022 03:45

Thanks Dani, that was very helpful 😍

Ответить
@maryamjokar2000
@maryamjokar2000 - 15.07.2022 06:20

Hello, thank you for your great video 🌹
I have a question...
Why is date and time types ('type='date') not used for searching?

Ответить
@jakubkb
@jakubkb - 14.06.2022 20:54

Hello, im new in programming and i was codind with your tutorial but sadly my code isn't working can you please help me?

Ответить
@phanik5256
@phanik5256 - 11.05.2022 16:00

Hi.... in my website am getting the following error... please help me with it

Warning: mysqli::__construct(): (HY000/1044): Access denied for user 'scidof3n_user1'@'localhost' to database 'scidof3n_search' in /home4/scidof3n/public_html/searchnew.php on line 12
Connection Failed:Access denied for user 'scidof3n_user1'@'localhost' to database 'scidof3n_search'

Ответить
@krystalmorris9645
@krystalmorris9645 - 26.04.2022 03:51

Hey Dani! So, I've done the exact code you did in the video...BUT I'm also trying to use filter checkboxes so the user can further filter their results! So, I tried adding that into the if statement....that if a certain checkbox is checked it shows the results AND what the user searched in the searchbox. But now it's only showing the results of the checkbox, and when I try typing a search into the search box it just shows everything in the database. :( any tips??

Ответить
@MrGigi-dz9cv
@MrGigi-dz9cv - 20.04.2022 11:40

Hello. I am trying to create a suggestions search engine.
But i need the database to return the matched items.

Ответить
@learnallwithtanim7143
@learnallwithtanim7143 - 11.04.2022 19:51

how to create privacy system like public, friend, only me.....
like fb privacy....
please give me a video with a real project with php mysql

Ответить
@jordanlesley4137
@jordanlesley4137 - 09.04.2022 08:51

I'm getting an error saying $result must be of type mysqli_result, bool given..

Ответить
@marlonmartins1538
@marlonmartins1538 - 14.03.2022 05:27

This lesson was so useful for me to work on my page integrating PHP and SQL queries with container results div. Thank you so much! Greetings from Brazil.

Ответить
@clertexcronius4667
@clertexcronius4667 - 12.01.2022 00:34

Thank you so much! This just saved my ass.

Ответить
@webdev4786
@webdev4786 - 27.12.2021 19:20

I really love you man. But please include some timing so we can jump to where we wanna get to.

Ответить
@patrickstar8585
@patrickstar8585 - 15.12.2021 16:13

"the author does have a big D"

Ответить
@SANBIRTRADING
@SANBIRTRADING - 08.12.2021 22:34

Great Tutorial! Please make a tutorial for the directory listing website's multiple search box filtering.

Ответить
@sparkyspike988
@sparkyspike988 - 04.12.2021 03:11

not working. 0 result..

Ответить
@odiidaniel4631
@odiidaniel4631 - 13.11.2021 14:12

Please what if I don't want the articles to be showing before searching for it. I want my search function to fetch the data from my database and display on the index.php

Ответить
@mangadrawing.1232
@mangadrawing.1232 - 27.10.2021 13:29

Love the details video! So clear for new bie like me to understand

Ответить
@ibexplusentertainment6012
@ibexplusentertainment6012 - 29.09.2021 11:09

hi Dani It was very helping Tnx!!!, But How about when we have multiple tables???

Ответить
@highschoolgamer7033
@highschoolgamer7033 - 15.09.2021 16:27

Remember when it was mmtuts?😁

Ответить
@arjuntantry7894
@arjuntantry7894 - 10.09.2021 09:01

ahh just what i wanted finally!! i actually recommend watching all earlier 56 videos and then come back here because you probably wont completely understand whats going on here ill tell ya something these tutorials are such a confidence booster to me .Thanks Daniel!

Ответить
@Ticked.-
@Ticked.- - 21.08.2021 16:08

ctrl-f

Ответить
@odaydhifi3717
@odaydhifi3717 - 24.07.2021 21:52

men idk but nothing from the info has came out for me

Ответить
@chaddsmith3354
@chaddsmith3354 - 17.07.2021 17:21

Thank you for the video!

Ответить
@expressgraphics001
@expressgraphics001 - 08.07.2021 23:07

My search page loads up and shows the h3 text and the div we styled but doesn't show any content in the div 😔

Ответить
@castlej8488
@castlej8488 - 14.06.2021 02:13

omy you actually helped me on my project! thank you so much you earned a new sub! keep up the great work my man!

Ответить
@zbarcevlad5010
@zbarcevlad5010 - 13.06.2021 23:20

Hello there, can you help me please or someone?
All works well, but my site has 2 search fields( one is for the job you want to search, and the other one for the city where the job should be ). So my question is: How I can make the both search bars work together?
Thanks!

Ответить
@bejiejumamoy2263
@bejiejumamoy2263 - 31.05.2021 10:36

good day sir.. can you help me.. for my errors

Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_result, int given in C:\Users\TynnJie\cmor_final_test\user_1.php on line 108

I'm your subscriber sir.. many thanks

Ответить
@saidsharif6549
@saidsharif6549 - 27.05.2021 17:29

Thank you so much for your amazing explanation, this video has been really helpful to me. But I got one problem I don't know how to deal with it. I have two tables in my database, how to access both of them from my search field?

Ответить
@kitashi0
@kitashi0 - 17.05.2021 16:39

How do you go to the index page?

Ответить
@hekmaarous6227
@hekmaarous6227 - 15.05.2021 19:23

thanks a lot

Ответить
@jaymargalabo536
@jaymargalabo536 - 13.05.2021 20:32

How to add picture?

Ответить
@cosmosandchill
@cosmosandchill - 12.05.2021 07:37

Thanks for this tutorial: you are a really good teacher!

Ответить
@CaptainAwesomeVlog
@CaptainAwesomeVlog - 09.05.2021 13:45

Perhaps the best thing about your tutorials is that they provide a basis from which I am able to extend and adapt the content to my needs quite easily. Today I finished my search tool based on your tutorial, for my multi-user image gallery. Works perfectly.

Ответить
@piercescoggin7297
@piercescoggin7297 - 07.05.2021 03:51

hey do you think you could make a video like this but using radio inputs instead?

Ответить
@lmn3208
@lmn3208 - 30.04.2021 19:41

sikq

Ответить
@tanjirislam9619
@tanjirislam9619 - 23.04.2021 23:47

Thanks bro

Ответить
@wifine1951
@wifine1951 - 22.04.2021 20:32

Does anyone have the entire code ?

Ответить
@chikenei
@chikenei - 17.04.2021 13:02

why do we need to use header php?

Ответить
@aqsaniaz4644
@aqsaniaz4644 - 14.04.2021 23:46

Great

Ответить
@oilfieldconnect6668
@oilfieldconnect6668 - 05.04.2021 06:33

Cannot find where this is coming from ???
Warning: Undefined array key "date" in C:\xampp\htdocs\PHP-Search\article.php on line 10

Ответить
@gaukharsalmenbayeva1305
@gaukharsalmenbayeva1305 - 04.04.2021 20:45

Thank you so much! Is this considered as a binary search method?

Ответить