KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have this array in PHP: array( [0] => array( 'username' => 'user1' ) [1] => array( 'username' => 'user2' ) ) If I have the 'username' string how can I get the index value as a number? Example, if I have 'user1' how can I get 0?
Tags (comma-separated)
Save Edits
Cancel