Databug

Friday, May 19, 2006

Latest Demo

Added a random color function:

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
)


Script:

$User = new Databug();
$User->fav_color= $User->get_random_color();
$DATA = $User->get_data();
$DATA['fav_color'] = $User->fav_color;
print_r($DATA);

 

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home