View Single Post
  #13  
Old 03-24-2012, 01:06 AM
!Alive !Alive is offline
Member
 
Join Date: Feb 2012
Posts: 39
Gender: Male
Credits: 1,814
!Alive is on a distinguished road
Default

Try changing the while to a if.

this:
while($row = $stmt->fetchObject())

to this:
if($row = $stmt->fetchObject())
Reply With Quote