Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP CRUD Operations with PHP Updating and Deleting Records Updating Projects

Seth Johnson
Seth Johnson
15,195 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.