New to Arrays


Posted on 16th Feb 2014 07:03 pm by admin

Hi I am new to PHP (a week and a half now) and I am just beginning to read about arrays. I understand simple arrays, associative arrays, and multidimensional arrays also. The book I am reading explains the array types in an easy to understand way but the example programs they show at the end of the chapter are pretty confusing. They seem to get advanced when combining arrays with for and while loops.

So my questions is, is there a good source out there to learning and dealing with arrays? It does not matter to me if it is a book, online, or in any other form. Also, are arrays very important to know when it comes to PHP?

Did you know?Explore Trending and Topic pages for more stories like this.
Thanks in advance for your time and answers.
No comments posted yet

Your Answer:

Login to answer
338 Like 54 Dislike
Previous forums Next forums
Other forums

Sharing PHP Sessions Across Domains
I am in the process of writing a script to share a php session across various domains I have.
The

Displaying a clickable playername
I am going wrong somewhere with the mysql_query, can someone please put me straight?

$playern

Big O & time complexity ???
can you help me how to calculate the Big O & time complexity for any algorithm and c++ program pleas

Displaying image pathname instead of image
Hello

Im trying to upload and then display images from a mysql database - Its only basic and

Remove directories not empty
hi,
i have an array that contains some names (1,4,6,56...). Every integer is a name of a folder.<

Empty text file when there is over XXXX lines of text.

define("RANDOM_FILE","/public_html/random.txt");
$randomEntry = "

insert quotes
Hi,

I have an output like this:
Code: john,18,Cancer
How can I change this to
Code:

Calculating a rating by adding number of points and dividing by number of items
I have a site that users can post links to files to download. They can rate these files on a 1-5 sca

eregi to preg
Im converting my regex for php 5.3 and I am stuck on the following

Code: [Select]if((eregi(&q

True way to see if action was successful?
If this is a good way to see if action was successful to continue:

Code: function changeGa

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash