Help - Search - Members - Calendar
Full Version: About php array
Forums > Resource Center > Webmasters' Corner
komrad
Hi all,

I'd like to know why PHP Arrays Suck?? How to store Values in 2D array Dynamically, So that using one value i can access other?
also without using indexes.

Thanks in advance.

mipadi
If you don't want to use the built-in associative array data type, you'll have to write your own hash class. But that's probably too much of a pain in the ass.

How big is your array? Remember: for small n, everything is fast.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.