How to use associative array in php?
How to use associative array in php? please let me help and share you suggestion.
http://www.php.net/manual/en/book.array.php for the array functions which will have plenty of examples of arrays
An associative array is simply $arrayvar['name'] used as $content = $arrayvar['name'] will assign the contents of that arrayvar called name to the variable and $arrayvar['name'] = $content will assign the content of the variable to $arrayvar['name']
... and please remember to wrap code with forum BBCode tags:-
[CODE]...[/CODE] [HTML]...[/HTML] [PHP]...[/PHP]
If you can't think outside the box, you will be trapped forever with no escape...
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)