07.
Handling the Object Id
Keep on Learning!
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
If you liked what you've learned so far, dive in! Subscribe to get access to this tutorial plus video, code and script downloads.
Whoops, an error! Please, try again later.
2 Comments
Hello,
why we used array inside execute?
$statement->execute(array('id' => $id))Can we code this instead?
Thanks
Yes, you can do that as well. Both ways are valid, so you can use one or the other when it's more convenient.
Cheers!
"Houston: no signs of life"
Start the conversation!