3. 2 File
Configuration
Instead of having your database connection
settings scattered everywhere, why not just
create one master file that contains its settings,
and then include it in your PHP scripts?
4. 3 Data
Sanitize
SQL injections are more common than you may
think, and unless you want a big headache
later on, sanitizing your database inputs is the
only way to get rid of the problem.
5. 4 Turned
Error Reporting
When building your application, leave
error_reporting and display_errors turned on to
see run-time errors that will help you quickly
identify where errors are coming from.
On
More here…
6. 5 Your Code
Comment
Comment the complicated parts of your source
code so that when you revisit it later you’ll
quickly remember what’s going on.
7. 6 Fellow
Connect
Join a PHP community and interact with
others. By connecting with other developers,
you’ll learn better ways of doing the things
you’re currently doing.
Developers
8. By:-
Submitted
Biswajit Sur is currently a Project Leader at
AAPNA Infotech Pvt. Ltd. Having a rich 7
years experience in Wordpress/PHP, he has
been an astute professional throughout the
years at AAPNA. His total IT experience is 11
years.
Biswajit Sur