Profile
Achievement
![first submission:submitting first snipplet first submission:submitting first snipplet](/img/badge/badge_2.png?v3)
iloveitaly's Recent SnippetsTagged array
- All /
« Prev 1 Next »
Useful when used with the google map directions function http://snipplr.com/view/15530/php-create-google-map-directions-link/
0
788
posted 13 years ago by iloveitaly
like array_search but compares against a specific key in each element of the array
2
832
posted 14 years ago by iloveitaly
Before:
`
Array
(
[0] => Array
(
[total_sessions] => 24
[study_type_id] => 1
)
[1] => Array
(
[total_sessions] => 24
[study_type_id] => 2
)...
0
611
posted 14 years ago by iloveitaly
Convenience function to set a SimpleXMLElement's attributes quickly.
0
642
posted 15 years ago by iloveitaly
like array_key_exists but accepts an array of key values to check
0
502
posted 15 years ago by iloveitaly