So I tried constructing an array of objects the way that it seems that mysqli
does from the result set, and it still does not work.  Flex is still seeing
it returned as a primitive object.  *I am at a total loss guys*.  Here is
what I did in php:

            $result = $stmt->fetchAll(PDO::FETCH_OBJ);
            
            $rows = array();
            
            foreach ($result as $res) {
                $row = new stdClass();
                $row->uniqueID=$res->uniqueID;
                $row->latitude=$res->latitude;
                $row->longitude=$res->longitude;
                $rows[]=$row;
            }
        
            return $rows;



--
View this message in context: 
http://apache-flex-users.2333346.n4.nabble.com/PDO-vs-mysqli-Web-Service-Return-Values-tp14970p14981.html
Sent from the Apache Flex Users mailing list archive at Nabble.com.

Reply via email to