Today I was taking a cab home from an event, and I paid with a $20 bill. I got my change back, got out of the cab, and was 15 feet away when I heard “Sir! Sir!, you gave me too much!”. I turned around and saw the cab driver holding up 2 $20 bills. I thanked him extensively and took the extra bill.
While walking home I was wavering between “darn, I should have given him a couple more bucks in tip as thanks” and “honesty shouldn’t be repaid with money– he did what he felt was right and I will do the same in the future”. I remember in the book Farmer Boy by Laura Ingalls Wilder, the main character (Laura’s husband as a boy, I forget his name) found someone’s wallet with the equivalent of thousands of dollars in it, and the guy gave him enough money as thanks to buy — if I remember correctly — 2 oxen.
wow. The price of cabs in your town always surprises me — I’m used to a minimum $40 cab ride for a trip to the airport here. I have to say, I last time I took a cab there, I would not have expected the driver to give me back an extra twenty
hi, sorry to post unrelated question here. I am eidting lyceum, got stuck on profile.php file.
quesiton about update_user_option function in profile_update.php page
function update_user_option( $user_id, $option_name, $newvalue, $global =
false ) {
global $wpdb;
if ( !$global )
$option_name = $wpdb->prefix . $option_name;
echo $newvalue ; // I add this line to see what value it is.
return update_usermeta( $user_id, $option_name, $newvalue );
}
we use this function to edit user profile. $newvalue is boolean type ,
value is false, I use echo to print it out.
then next line called update_usermeta, it passed $newvalue in. but when i
use echo in
function update_usermeta($user_id, $meta_key, $meta_value )
$meta_value became array, got so confused here. how this data type changes ?