Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP CRUD Operations with PHP Updating and Deleting Records Updating Projects

Seth Johnson
Seth Johnson
15,200 Points

Needing further and/or more detailed explanation.

Hey Everyone,

So with this video in particular I feel as if I've hit yet another wall. I'm only just following along, but not really having any breakthroughs of understanding.

There are what seems like a million different things happening here, with little-to-no explanation as to any of the whats and whys and hows.

Not asking for a full step-by-step re-breakdown or re-enactment of this video, just hoping that someone can point me in the right direction, or perhaps other tutorials or further reading I can do, just to get a fresh perspective. Thanks.

Pontus Bolmér
Pontus Bolmér
12,471 Points

This part is about crud, and in SQL this means

C = Create When saying create you mean you want to do a INSERT to the database. You want to add data to the table.

R = Read You want to read, and in order to read the data you need to do a SELECT from the table.

And this video is about the U and the D part

U = UPDATE You want to update, or modify your data in the table.

D = DELETE You simply for some reason want to delete data from the table.

I dident watch the entire video, but sometimes you simply want to update your data or delete it. Lets say you have a online-store and a customer wants to change their adress, and they do so, you dont want to do another insert to the table, you would in this case UPDATE the data.

I hope my answer will give you some guidance.

1 Answer

Seth Johnson I'm right there with you, this whole segment felt very rushed, not sure if I'm able to continue if these lessons remain with the same low quality. I think the main issue is they are working on a rather mid-size project for an entry-level and running through features pretty quickly.