> -----Original Message----- > From: Boyd, Todd M. > Sent: Monday, September 08, 2008 2:28 PM > To: 'Richard Kurth'; 'php-general@xxxxxxxxxxxxx' > Subject: RE: pulling data from array ---8<--- snip > <?php > > # now loop through your object array and translate to js function calls > > foreach($objArray as $record) { > echo "data.setCell(0, 0, '{$row['firstname']}', > '{$row['lastname']}');"; > } > > ?> That should have been {$record['firstname']}, etc... not $row. My bad--it's been a long day. :P Todd Boyd Web Programmer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php