2
rated 0 times
[
8]
[
6]
/ answers: 1 / hits: 57757
/ 13 Years ago, wed, november 30, 2011, 12:00:00
I have a function called insert which takes two parameters (name and telnumber).
When I call this function I want to add to an associative array.
So for example, when I do the following:
insert("John", "999");
insert("Adam", "5433");
I want to it so be stored like this:
[0]
{
name: John, number: 999
}
[1]
{
name: Adam, number: 5433
}
More From » arrays