shiljo Posted April 4, 2013 Report Share Posted April 4, 2013 Hi to all! need some help...welll i would love to link only pilot ID not whole name in recent pilots.tpl , and my code is : <?php foreach($pilots as $pilot) { ?> <p><a href="<?php echo url('/profile/view/'.$pilot->pilotid);?>"><?php echo PilotData::GetPilotCode($pilot->code, $pilot->pilotid). ' - ' .$pilot->firstname . ' ' . $pilot->lastname; ?></a><img src="<?php echo Countries::getCountryImage($pilot->location);?>" align="right" alt="<?php echo Countries::getCountryName($pilot->location);?>" width="16" height="11" /><br /></p> <?php } ?> So anyone can help me...i tried to mess up with codes here, but cant figure it out...well im trying and learning Thank you very much Shiljo Quote Link to comment Share on other sites More sharing options...
shiljo Posted April 4, 2013 Author Report Share Posted April 4, 2013 Sry i figured it out in meanwhile lol...see..learning quickly ty closed Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.