In an Email Pilot ID

what is the Code to show the Pilot Id in the email_registrationaccepted

thanks

I have been doing some work tonight so the file is on hand

That will get you the first name lastname and their pilot code.

<?php echo $pilot->firstname.' '.$pilot->lastname ?> <?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid)?>

thanks alot mate