Thread: Script error
View Single Post
  #3  
Old 04-30-2012, 01:32 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 33,338
fadillzzz is an unknown quantity at this point
Default

Don't mix the old mysql_* functions with PDO. The two are very different.

PHP Code:
$result $adopts->select(...);
while (
$row $result->fetchObject())
{
    echo 
$row->name;

Reply With Quote