Created
September 1, 2012 11:44
-
-
Save MattSkala/3570789 to your computer and use it in GitHub Desktop.
What is expected output?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
table foo | |
id int(11) AUTO INCREMENT | |
name varchar(255) | |
*/ | |
$item = array(); | |
$item['id'] = null; | |
$item['name'] = "Lorem ipsum"; | |
$row = $connection->table('foo')->insert($item); | |
var_dump($row->id); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment