Thread
:
PDO fetching objects - how to assign variables ?
View Single Post
01-09-2013, 11:58 PM
PM User
|
#
2
Fou-Lu
God Emperor
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
Yep, you can use list.
PHP Code:
list(
$id
,
$make
,
$model
) =
$row
;
Users who have thanked Fou-Lu for this post:
elem
(01-10-2013)
Fou-Lu
View Public Profile
Find More Posts by Fou-Lu