howtoforge.com — Here is yet another article of Fast PHP Articles Series. Today we are going to discuss ARRAYS. We will learn its syntax, its different types, the different built-in array functions that help to perform different tasks related to arrays quickly and different practical examples explaining the use of arrays in PHP.
Feb 6, 2007 View in Crawl 4
f00xx0riz3rFeb 7, 2007
crilen007, read what?! We need you to help us. Please write a tutorial and post about it to digg!
fuzzybadFeb 7, 2007
The array documentation on php.net is much more complete.<a class="user" href="http://us2.php.net/manual/en/ref.array.php">http://us2.php.net/manual/en/ref.array.php</a>
kiltedmileFeb 7, 2007
That site... the colors... they look so similar to another site I know of...
pajkFeb 7, 2007
The article was nice. It wasn't excellent, or great, but it was fine - good for beginners.
tybrisFeb 7, 2007
Oh boy, arrays! How exciting.
gizmolaFeb 8, 2007
Next up in the series, an in depth evaluation of 'echo'.I have seen discussions of seemingly trivial language constructs that actually do illuminate a subject, but this was not one of them. For one thing, the author is flat out wrong when stating that there are 3 different types of arrays. There is one type of array in php, period. Anyone who has for example, used the basic mysql client function mysql_fetch_array() knows this. It also bothered me, that the first thing presented was the declaration of string constants using double quotes rather than single ones. Right away that tells me this is not an experienced php developer. I also agree with the first comment. One of the nicest features of php arrays is that they're dynamic. And yet, no discussion of the syntax. There's also a plethora of array functions, and rather than cover any of the interesting ones, this focuses on print_r, which is really just a debugging utility. In summary, the writing was clearly by an ESL speaker, as evidenced by the lack of clarity and numerous spelling mistakes. This article not only isn't newsworthy or digg worthy, as an experienced PHP developer I couldn't recommend it to a rank beginner. There are so many better resources out there, and in this case, reading the array chapter in the PHP manual would be a much better introduction, even for a rank beginner, than this was. I honestly am scratching my head as to how this got so many diggs. The only thing I can think is that PHP fans just saw "PHP and Arrays" and clicked thumbs up. While I am a huge PHP supporter, Digging an article like this is actually counterproductive.
yahoofromFeb 8, 2007
I can't see your joke.
palmettoFeb 8, 2007
Wow, I was just hoping for a book, website or the like to help. Amazing that I received such negative responses.@se7en11Thanks for the info.. I have searched google.. I am beginning to understand better what is going on and am working on understanding the installation of PHPadmin and how it works. I am hosted with 1&1. Their website says that they support php and mysql but that I need to work with linux. I suppose I willdo that then. I will also go to the website you suggested and post. Thanks for all your help.@Crilen007You are an assh**e.
sirstevehFeb 8, 2007
Seriously, I'm getting tired of reading s**t like this on all sorts of basic, *basic* tutorials. If I want to learn how to code /(Ruby|Python|PHP|Perl|C#|Java)/, I'll go look for a ($1) site on Google.
cruxopFeb 12, 2007
It's basic, but not all together useless. If you're a complete beginner, and this is the first site you find then at least it'll give you all the information you need to start using arrays.It's not polished, but I wouldn't dig it down.