In response to the get request, I want to give the user with ID 1:

mysql_select_db("certificate"); $user = get_userdata(1); echo $username = $user->get('user_login'); 

But nothing comes in response, tell me what could be the problem?

  • If I understand you correctly, is it from WordPress? - Dmitry
  • Something is not visible neither the table nor the request - Vitaly Shebanits
  • Yes, Dmitry, this is from Wordpress - Alexandr

0