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 trialJosh O.
2,370 PointsWhat does a lot of this code mean? I just started learning PHP today so I am a little lost on what some things mean like
What do the following things mean: -> ['id'] there seems to be some configuration that means something. Set('first thing', 'second thing'). it seems like the first thing is a variable and the second is the value of the variable, but I am unsure. Also please explain sessions where it is stored and how we retrieve specific things from it. We seem to be doing something with the flashbag too where there are error statements and success statements and some where in the code it is pursing a database of errors and success messages.
1 Answer
Steven Parker
231,269 PointsIf you're just starting to learn PHP, it might be too soon for this particular course. You might want to set it aside for now and start with the Beginning PHP track.
After you finish that track, come back to this course and it should make a lot more sense!