Jump to content

Code


avdesigns

Recommended Posts

  • Moderators

Hello For my pilot centre I need the code for the information of that pilot to display would anybody be able to provide the code for the following

Name

Pilot Id

Rank

Email

Hub

Location

Hours

Flights

Miles Flown

Thanks! :)

What do you have in pilot profile right now? are using the default pilot profile or you're using skins?

Link to comment
Share on other sites

  • Moderators

no :(

Okay! the info can be pulled out using $userinfo->pilotid, pilotname pilotlastname and so on. If you want the entire code and you have no knowledge of PHP then you're gonna have to try to learn some small things then get help from the others to make your thing. How did you make that table in the page you showed?

Link to comment
Share on other sites

Okay! the info can be pulled out using $userinfo->pilotid, pilotname pilotlastname and so on. If you want the entire code and you have no knowledge of PHP then you're gonna have to try to learn some small things then get help from the others to make your thing. How did you make that table in the page you showed?

Word

Link to comment
Share on other sites

Pilot Name

<?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?>

Pilot ID

<?php echo $pilotcode; ?>

Pilot Rank

<?php echo $userinfo->rank;?>

To show the rank image instead

<img src="<?php echo $userinfo->rankimage ?>" />

Pilot Hub

<?php echo $userinfo->hub;?>

Pilot Flown Hours

<?php echo $userinfo->totalhours; ?>

Pilot Total Flights

<?php echo $userinfo->totalflights?>

  • Like 2
Link to comment
Share on other sites

  • Moderators

Pilot Name

<?php echo $userinfo->firstname . ' ' . $userinfo->lastname; ?>

Pilot ID

<?php echo $pilotcode; ?>

Pilot Rank

<?php echo $userinfo->rank;?>

To show the rank image instead

<img src="<?php echo $userinfo->rankimage ?>" />

Pilot Hub

<?php echo $userinfo->hub;?>

Pilot Flown Hours

<?php echo $userinfo->totalhours; ?>

Pilot Total Flights

<?php echo $userinfo->totalflights?>

Nice Jeff, the thing is that he said he doesn't know PHP, so I guess he won't be able to use these unless we give him the whole coding structure.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...