PHP Front To Back [Part 18] - PHP & AJAX

preview_player
Показать описание
In this video I will show you how we can use PHP and AJAX together to build a simple suggestion engine for a form input

CODE: Code for this video

EDUONIX COURSES: Please use affiliate links from website below

SUPPORT: We spend massive amounts of time creating these free videos, please donate to show your support:

FOLLOW TRAVERSY MEDIA:
Рекомендации по теме
Комментарии
Автор

I'm impressed. No importing libraries, setting routes, exposing variables… Just a single plain php file with a nested if block and an echo. Bravo!👏👏👏

gogvale
Автор

You're a great teacher!!! Keep up with the good work! Thank you for making this free course! I wish to see more about OOP and Mysqli together, PHP is such a beautiful language...

LPPonto
Автор

I see things are getting tougher and tougher as I go in depth with PHP, but I'm glad that at the end of the day, at least I've learned something new all thanks to you. For example now I know I can use the console logs to identify errors in my code. So thanks man...

collo
Автор

This was really helpful! I've been learning PHP and now I'm learning AJAX and advanced javaScript stuff, and this was eaxctl what I needed, learning how to bridge the two together. Looking forward to seeing your video on how to do the same with MySQL =)

Thanks a ton man. I'll make sure I check out more of your stuff too.

svenbtb
Автор

This was a nice stretch and overall Challenge. I'm glad I understand enough of the fundamentals to pick up what was taught during this lesson. This is my first time working with AJAX and live Server Response/Request Cycles. I really picked up a lot. Not sure if I could do it on my own, but I was able to follow exactly what you did, and could definitely adapt the code to another set of data and tweak things. Thank you for this. You've help me immensely!

busyrand
Автор

It's SO nice to see SOMEONE finally using VanillaJS instead of stupid jQuery. Nearly all employers seem to favor VanillaJS. Thank you!

deveagle
Автор

So glad I found your channel! Thank you!

CarolinaQVargas
Автор

This is exactly what I've been looking for to get a filter system for my website, thanks Brad!

torleifv
Автор

Thanks Man have been waiting for days for the next video

ahmadabdulaziz
Автор

if anyone has issues understanding what's going on in suggest.php. I suggest you, debug the code. Set the variables in debug watch and you will know what are the values as it loops through the array. Keep in mind the functionality of substr() and stristr() functions. I set two variables like below inside the loop and set these variables in debug watch to check values of these variables.
$substr = substr($person, 0, $length);
$stristr = stristr($q, $substr);


Debugging the code will give you a thorough understanding of how it works

zunutube
Автор

Best Tutorial vids on Youtube keep up the great work bro

c.burhansw
Автор

Another great video, Brad. I think it would've been helpful to explain your PHP conditional logic a bit more. I was okay with the AJAX since I'd covered it in a different course recently. I will pause the video, look at your code and try to figure out how it's all working.

Edit: Took me about 5 minutes to look up the PHP functions/methods and figure out the conditional logic! :-)

fury_uri
Автор

Awesomeness has been redefined! this is great! Ajax is god!

RameenFallschirmjager
Автор

All of this is really cool and I wish i could even aspire to be able to come up with stuff like this on my own but for now it just goes way over my head.

King-Gilamashur
Автор

All your tutorials are very interesting, continue more than this. Thank you...>

forethiocodingstaff
Автор

This is exactly what I needed right now! Thanks!

AntonioSantos-xkzu
Автор

Thank so much for the tutorial. You are the best!

HoanNguyen-fcvb
Автор

My two favorite YouTube TEACHERs are Brad Traversy and Tim Buchalka from "The Learn Programming Channel"

mushfiqfuad
Автор

after spending 30 minutes wondering why my code wasn't working, I realized the "s" in this.readystate wasn't capitalized.

MrScrosb
Автор

Great tutorial. Looking forward to the MySQL PDO example, based on PDO delusions db connection using OOP.

coredatallc