Jump to content

raptor

Members
  • Posts

    2
  • Joined

  • Last visited

raptor's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. raptor

    Pilot Data

    Thanks! Var_dump - awsome! I will be using this alot as I'm new to this type of programming.
  2. Hello, I'm creating a module where I would like a logged in pilot to view ONLY their info. I have based the module on the Roster module that has been referenced in the forums and tutorials (It's basically a copy of the Roster module showing extra columns that I added for different bank accounts). Is there a variable that returns the users id, like '$whoami' or '$myid'? Something that returns who is accessing the page so they only see their information. Thanks, raptor EDIT: I found that this works after much trial and error: $query = "SELECT * FROM ".TABLE_PREFIX."pilots WHERE pilotid = ".Auth::$userinfo->pilotid."";
×
×
  • Create New...