Loading...
When i first started learning PHP arrays confused me. I learned Perl first; arrays and variables in Perl are represented with different symbols. Not so in PHP, an array looks exactly the same as a variable, it starts with the dollar ($) sign. $array = array('cat', 'dog', 'fish', 'rabbit')...
read moreWe can perform actions in PHP based on whether or not a conditional statement is true. Let's take a look at an example. if(2 > 1) { echo 'two has a greater value than one.'; } Look at it logically: "If two is greater than one". The > operator means "greater than". The conditional ...
read moreFor those of you who know Perl, you will see that PHP has borrowed alot from Perl. Infact the first PHP interpreter was written using Perl, the syntax is very similar in alot of ways. Foreach The foreach function is for use with arrays. It allows you to go through each item in an array. $fr...
read more
Editor's Pick in Web Promotion, August 2005
Has Google blacklisted your site? Don't know? Read this tutorial to discover ways to avoid being penalized for something you may not have intended to do.
Copyright © . All Rights Reserved