Update:Archive/2.0/Developers/Best Practices: Difference between revisions

Line 27: Line 27:
* Clean and validate all inputs to prevent SQL injection or malignant HTML.
* Clean and validate all inputs to prevent SQL injection or malignant HTML.
* Use meaningful variable and function names.
* Use meaningful variable and function names.
* Use <?php ?> to designate code blocks
* Use CSS for all styles.
* Use CSS for all styles.
* Create validated markup according to 4.01 Strict.
* Create validated markup according to 4.01 Strict.
26

edits