Skip to main content
deleted 63 characters in body
Source Link
Ahmed
  • 1.4k
  • 3
  • 17
  • 29

as BetaRide in the page profile you can use arg(1) or it will give you user profile and then you can use user_load()

global $user;//(it contains a stdclass of all information to the logged in user)
echo $user->uid;

as BetaRide in the page profile you can use arg(1) or you can use

global $user;//(it contains a stdclass of all information to the logged in user)
echo $user->uid;

as BetaRide in the page profile you can use arg(1) it will give you user profile and then you can use user_load()

Source Link
Ahmed
  • 1.4k
  • 3
  • 17
  • 29

as BetaRide in the page profile you can use arg(1) or you can use

global $user;//(it contains a stdclass of all information to the logged in user)
echo $user->uid;