Jump to content

Recommended Posts

Posted

<div class="clean-welcome"> <?php $newpilot = PilotData::getLatestPilots(1); ?>


         Welcome Alaska Adventures Newest Pilot:
               <?php
                   foreach ($newpilot as $pilot)
                               {
                                   echo $pilot->firstname.' '.$pilot->lastname.' ('.PilotData::getPilotCode($pilot->code, $pilot->pilotid).')';
                               }
               ?>
       </div>

CSS:

.clean-welcome{
	border:solid 1px #349534; 
	background:#C9FFCA;
	color:#008000;
	font-weight:bold;
	padding:4px;
	text-align:center;
}

Posted

<div class="clean-welcome"> <?php $newpilot = PilotData::getLatestPilots(1); ?>


         Welcome Alaska Adventures Newest Pilot:
               <?php
                   foreach ($newpilot as $pilot)
                               {
                                   echo $pilot->firstname.' '.$pilot->lastname.' ('.PilotData::getPilotCode($pilot->code, $pilot->pilotid).')';
                               }
               ?>
       </div>

CSS:

.clean-welcome{
	border:solid 1px #349534; 
	background:#C9FFCA;
	color:#008000;
	font-weight:bold;
	padding:4px;
	text-align:center;
}

There is a error, it appears with

.clean-welcome{                 border:solid 1px #349534;                  background:#C9FFCA;                 color:#008000;                 font-weight:bold;                 padding:4px;                 text-align:center;         }              Welcome Sky Service Newest Pilot:                 Matthew Talbot (SKY0001)        

but just text on my site

  • 2 weeks later...
  • 2 weeks later...
Posted

Very nice for on the website. But how do I change it so it will display the latest confirmed pilot?

Thank you

As always with regards,

Cor

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...