Profile
Achievement

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
953
posted 14 years ago by iloveitaly
like array_search but compares against a specific key in each element of the array
2
1014
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
753
posted 15 years ago by iloveitaly
Convenience function to set a SimpleXMLElement's attributes quickly.
0
815
posted 15 years ago by iloveitaly
like array_key_exists but accepts an array of key values to check
0
635
posted 15 years ago by iloveitaly