Shopping Cart - best way of doing it?
View Single Post
01-14-2013, 12:42 PM
Join Date: Sep 2005
Thanked 80 Times in 80 Posts
$query->bindValue(:array, join(',', $_SESSION['cart']));
or perhaps $query->bindValue(":array", join(',', $_SESSION['cart']));
also why use join for putting the array together why not just use implode?
A programmer is just a tool which converts caffeine into code
Users who have thanked hinch for this post:
View Public Profile
Visit hinch's homepage!
Find More Posts by hinch