function create_profile($values) {
if (!is_array($values)) {
$values = array();
}
// Default key/values
$values += array(
'uid' => NULL,
'username' => '',
'mobile' => '99999999',
'location' => 'POINT(0 0)',
'fb_id' => ''
);
}
The most important line is at line 7; where both arrays are merged. If the key/value pair is in the $values array, it will be ignored; else the default values will be used.
vg592 groundies shoes,etnies boty,Scarpe hey dude,pit viper sunglasses,vionic belgie,keenfootwearjapan,gabor shoes,vionic soldes,muck boot wellies ireland gk265
ReplyDelete