Nov 4, 2003 #1 basildon Programmer Oct 22, 2001 58 GB Hi I'm new to php, but I find it fairly similar to Perl (which I've used quite a bit) I had a look at the manual, but couldn't see anything about hashes/associative arrays. Does php support hashes?
Hi I'm new to php, but I find it fairly similar to Perl (which I've used quite a bit) I had a look at the manual, but couldn't see anything about hashes/associative arrays. Does php support hashes?
Nov 4, 2003 #2 sleipnir214 Programmer May 6, 2002 15,350 US PHP doesn't differentiate between arrays and hashes. Arrays can have numerical or string indeces. http://www.php.net/manual/en/language.types.array.php Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
PHP doesn't differentiate between arrays and hashes. Arrays can have numerical or string indeces. http://www.php.net/manual/en/language.types.array.php Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!
Nov 4, 2003 #3 sleipnir214 Programmer May 6, 2002 15,350 US Correction. My previous post should have read "Arrays can have integer or string indeces." Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!! Upvote 0 Downvote
Correction. My previous post should have read "Arrays can have integer or string indeces." Want the best answers? Ask the best questions: http://www.catb.org/~esr/faqs/smart-questions.htmlTANSTAAFL!!