View Single Post

  #1 (permalink)  
Old 16-04-2008, 03:42 PM
Busarus's Avatar
Busarus Busarus is offline
Wannabe Geek
Recent Blog: Forkncork.com
 
Join Date: Sep 2006
Location: Monaghan, Ireland
Posts: 248
Nominated 0 Times in 0 Posts
TOTW/F/M Award(s): 0
Busarus will become famous soon enough
Default extra information for first result

Not a programmer so bear with me.....

I have a results page which pulls out relevant jobs....

However I want extra information shown for the first result produced.

I have managed to get the pages to publish the extra information but for all the results produced using

Code:
<?php

foreach ($obj->results as $result) 
{
echo template_simple ('{company_blurb} <img src="/templates/{user_id}/logo.jpg" border="0" alt="company_name" border=0  align=right >', $result);
}

?>
How do I get it to just pull this values from the first line of the results array

Last edited by Busarus; 16-04-2008 at 04:00 PM.
Reply With Quote