Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 9 Years, 2 Months ago [PHP] Can't able to get uid with $mybb
#3
Solved: 9 Years, 2 Months ago
(2012-11-18, 06:46 PM)crazy4cs Wrote: Try to define global $mybb inside the function.

Also, it's

$mybb->user['uid']

and not $mybb->user[uid] (you missed single quotes).

It works but why the Global works if we define it out side of our every function ?
www.vubscs.com ( A new way of Mybb)
Jump to the post that solved this thread.


Messages In This Thread
RE: [PHP] Can't able to get uid with $mybb - by sunjava1 - 2012-11-18, 06:48 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)