--TEST-- fetches the next row as an object --SKIPIF-- --FILE-- query( "select * from Person.ContactType where ContactTypeID < 5 " ); $result = $stmt->fetchObject(); print $result->Name; //free the statement and connection $stmt=null; $conn=null; ?> --EXPECT-- Accounting Manager