# Recent Awards

**URL:** <https://forum.phpvms.net/t/recent-awards/4467>\
**Category:** phpVMS Legacy Support (v2/v5)\
**Created:** [April 9, 2011, 3:42am UTC](https://forum.phpvms.net/t/recent-awards/4467 "2011-04-09T03:42:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![beerguts](https://forum.phpvms.net/user_avatar/forum.phpvms.net/beerguts/32/99_2.png) [@beerguts](https://forum.phpvms.net/u/beerguts)\
**Post date:** [April 9, 2011, 3:42am UTC](https://forum.phpvms.net/t/recent-awards/4467/1 "2011-04-09T03:42:13Z")

</div>

Hello All,

Can anyone give me an idea on how to display a list of the latest awards received by pilots in a VA. Essentially I would like to show the image of the award and the pilot who earned it.

Any help appreciated.

---

<div class="post-metadata">

**Author:** ![C1971W](https://forum.phpvms.net/letter_avatar_proxy/v4/letter/c/4af34b/32.png) [@C1971W](https://forum.phpvms.net/u/C1971W)\
**Post date:** [January 27, 2012, 6:01am UTC](https://forum.phpvms.net/t/recent-awards/4467/2 "2012-01-27T06:01:02Z")

</div>

Here’s how I did it to show images & award name on mouseover. Hope this helps:

\<?php

if(!$allawards)

{

echo ‘No awards yet’;

}

else

{

?\>

\<?php foreach($allawards as $award){ ?\>

\<img src=“\<?php echo $award-\>image?\>” title=“\<?php echo $award-\>descrip?\>” /\>

\<?php } ?\>

\<?php

}

?\>
