It means he has no php experience at all.
Here is his while.
<if test="is_array( $records ) && count( $records )">
<div class='ipsSideBlock clearfix' id='recent_articles'>
<h3>{$title}</h3>
<ul class='block_list'>
<foreach loop="$records as $r">
<php>$likeRecs = array();
ipsRegistry::DB()->build(array('select' => 'field_1 as title, field_3 as content, record_updated as date, record_dynamic_url as url',
'from' => 'ccs_custom_database_1',
'where' => 'member_id='.$r['member_id'].' and post_key != "'.$r['post_key'].'"'));
$rnew = ipsRegistry::DB()->execute();
while( $rlikes = ipsRegistry::DB()->fetch($rnew) )
// Below is the while he wants
{
// whatever he wants goes in here
}
// Above is the while he wants
</php>
<li>
<a href='{$r['url']}'>{parse expression="IPSText::truncate( $r['field_1_value'], 30 )"}</a>
</li>
</foreach>
</ul>
</div>
<br />
</if>