What is the difference between indexed and associative array?
Answer / Anshu Prabha
In PHP, arrays can be either indexed (using numeric indices) or associative (using key-value pairs). The main difference is that with an indexed array, elements are accessed using their numerical position, while with an associative array, elements are accessed using the key you've assigned to them.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is final keyword in php?
How can php and html interact?
What is member function?
Extract url from this string? It should be flexible for all strings, not for this string only. "yahoo.comyahoo.co.inhotmail.org"
Explain about the connective abilities of the PHP?
How to create a table to store files?
Does facebook use php framework?
What is php pathinfo?
What is use of in_array() function in php?
Explain about require and include function?
How to find a specific value in an array?
What is an array in php?