Skip navigation

Create an unfavorite button

Create an unfavorite button: Ajax with PHP
Create an unfavorite button: Ajax with PHP

Now that there is a working favorite button, learn how to duplicate the process and create an unfavorite button. Clicking on an unfavorite button will send an asynchronous Ajax request to a PHP page, which will remove the post from the list of favorites. Then Ajax will remove the red heart from the corner of the blog post.

Resume Transcript Auto-Scroll
Skill Level Intermediate
3h 37m
Duration
18,163
Views
Show More Show Less
Skills covered in this course
Developer Web Web Development Ajax PHP

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now