View Single Post
Old 11-24-2009, 03:22 AM   #2 (permalink)
Killswitch
The Contributor
 
Join Date: Feb 2007
Posts: 64
Thanks: 9
Killswitch is on a distinguished road
Default

I'm not very familiar with Code Igniter, but if it's just one result I wouldn't think you would need a loop. Atleast, I have never seen a loop used to print just one single result. I am not too familiar with CI's database abstraction, but check out the manual and see about pulling just one row set. If anything you might have to loop through an array of one rows data, but that depends on how CI returns its row set.
Killswitch is offline  
Reply With Quote