Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - M3ATSHI3LD

Pages: [1]
1
Tutorials / Re: Noob proof PHP tutorial part 1/3
« on: February 16, 2013, 09:11:29 pm »
They're called parenthesis.. and go introduce yourself.


I didn't realize that an introduction was a requirement. Got a link to the rule stating such?


I would also like to thank you for correcting me on the proper term for braces or curly braces. I guess I should now start calling them parenthesis so everyone that knows what parenthesis are will then tell me that curly braces are not parenthesis. I give you an A+ on making incorrect statements!

2
Tutorials / Re: Noob proof PHP tutorial part 1/3
« on: February 11, 2013, 04:32:42 pm »
One thing I notice is that you are not using curly brackets in your if () {} else {} statements. While leaving out the curly brackets is an allowable syntax, in PHP it is considered bad form. I do understand you address that it is not 'needed', but there are certain things that should not be taught in relation to PHP. Leaving out the curly brackets leads to errors and readability issues.


Other than that issue, great introduction to PHP!

Pages: [1]