Browsing articles tagged with "php tutorials Archives - PHP Dev Tips"
Jun
14
2013

Getting Started with PHP: Part 3: Structure and variable existence

And here we are on part 3 of “Getting Started with PHP”! Today we have… Using effective website structure to make your life easier Overview of PHP isset and empty commands Using PHP to do your heavy lifting (using variables) Overview of PHP Isset && Empty Commands Within PHP, it is important to determine if our variables ‘actually’ exist, and/or are specified in any number of formats. For example: $variable = NULL; echo $variable; Will […]

Jun
12
2013

Getting Started with PHP: Part 2

Continuing the tutorial series on getting started with PHP (see “Getting Started with PHP” for the last batch), today I’ll provide some information on… Including external files Assigning PHP variables and constants Overview of variable and constant usage Including External Files PHP allows us to include external files that allow us to decrease the amount of redundant/repeated code used, as well as a security measure for important files such as files containing database connection details, […]

Jun
10
2013

Getting Started with PHP

I figured that since I spend most of my time buried DEEP in complex php functions, classes, and tips, it may be helpful to provide some background on what the hell you’re actually supposed to do if you have no idea! That being said, I’m going to begin adding some more introductory content that will hopefully provide some insight and tips on where to get started, so that you can more effectively work with more […]