Ezsql 2.0 "foreach" BIG BIG BIG problem.

Hi all.
I've found this spectacular packet, but on my server the last version (2.0) is not working. Version 1.26, instead is working.
I installed ezsql 2.0 and ez Results...
I've update with $db_user, $db_password... etc etc, but I've already this error:

Warning: Invalid argument supplied for foreach() in c:\www\classes\ez_sql_v2\mysql\demo.php on line 31

This is my demo.php:

get_results("SELECT name, email FROM users");

// Output the name for each column type

foreach ( $db->get_col_info("name") as $name )

{
echo "$name";
}
?>

Why version 1.26 is working and not the version 2.0?
I'm trying on my win2000 localhost, using Easyphp 1.8.0.1.

Can you help me?
Thanks in advance.

Roberto