Latest Demo
Added a random color function:
Script:
Array
(
[first_name] => Sly
[last_name] => Eller
[user_name] => seller
[full_name] => Sly Eller
[gender] => m
[email] => seller73003@hotmail.com
[zip] => 19026
[city] => Pilgrim Gardens
[state] => PA
[phone] => (484) 555-0109
[fav_color] => #9d61af
)
(
[first_name] => Sly
[last_name] => Eller
[user_name] => seller
[full_name] => Sly Eller
[gender] => m
[email] => seller73003@hotmail.com
[zip] => 19026
[city] => Pilgrim Gardens
[state] => PA
[phone] => (484) 555-0109
[fav_color] => #9d61af
)
Script:
$User = new Databug();
$User->fav_color= $User->get_random_color();
$DATA = $User->get_data();
$DATA['fav_color'] = $User->fav_color;
print_r($DATA);
$User->fav_color= $User->get_random_color();
$DATA = $User->get_data();
$DATA['fav_color'] = $User->fav_color;
print_r($DATA);