Can somebody let me know why the next code isn't being employed as I needed it to. I would like the $token to become placed into ami_st_token_aut of my wordpress_customers area in which the id may be the id from the user presently drenched in.
$token = $_GET['token']; $services = $_GET['services']; global $current_user; get_currentuserinfo(); $wpdb->query("UPDATE $wpdb->users SET ami_st_token_aut = ".$token." WHERE ID = ".$current_user->ID."");
Look into the
$current_user->ID if it's not empty.
When the area type would be to store string values enclose the worthiness in quotes for
$wpdb->query("UPDATE $wpdb->users SET ami_st_token_aut = '".$token."' WHERE ID = ".$current_user->ID."");