[NEEDS WORK] Coding practices

Coding practices such as:

Traps & tricks of mixing SQL, PHP and Javascript in events

Using nested quotes and quote escaping,

When to add slashes

When/how to jump around/redirect between pages programmatically

When/why/how to use Javascript to change pages and how to pass parameters

How to dynamically create content on a page, why when how you can do that

Why when how to dynamically refresh pages

Dynamically generating emails & other external events, using templates and template language