mikecao/sparrow — Issue #1: mysql insert execute
Author: Abe
Created: 2011-12-22 18:54:11+00:00
State: open

There is an error when I try to insert data to the database.
**Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in sparrow.php on line 809**

```php
setDb('mysql://user:pass@localhost/database');

$data = array('name'=>'Abe');
$db->from('users')->insert($data)->execute();
```

* Mac OS X 10.6.8
* PHP 5.3.8
* Apache 2.2.20
* MySQL 5.5.15