i have a while statement inside a function, but it seems like it dont work. is this possible? function hello() { while ($apo->fetchInto($row)) { print "hello 2"; } }; /eof -- Louie Miranda http://www.axishift.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php