Tricks for dealing with PHP Sessions

PHP sessions allow developers to create variable that can be used throughout the entire user session. Instead of passing variable data around and risk loosing it, you can simply define a session variable and all your pages will be able to access that variable.
To use session variables in a page, it has to have the [...]

Getting data out of a table

Getting useful data out of a database table is a challenge that every novice developer struggles with; and quite frankly it is not only inexperienced developers who struggles with this concept, I have see many experienced developers struggle with queries that for some reason was return more information while other return insufficient information.
Now we will [...]