謝晒的PHP網頁設計
聯絡E-mail:
sean0704@gmail.com
站內搜尋
Tuesday, March 8, 2016
[PHP] 如何找出特定的鍵值(key)在陣列(array)中的順序?(How to get the position of a key within an array)
How to get the position of a key within an array
短摘:
$i = array_search('blah', array_keys($array));
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment