Thread: Storing prices
View Single Post
Old 11-09-2012, 01:26 PM   PM User | #35
LearningCoder
Regular Coder

 
LearningCoder's Avatar
 
Join Date: Jan 2011
Location: The Pleiades
Posts: 849
Thanks: 67
Thanked 28 Times in 28 Posts
LearningCoder is an unknown quantity at this point
Ok, if I hardcode say 'Bench' into the query, it works great. When I use the $_GET['order'] or when I save that value to a variable and try to use that variable in the query, it executes the die() part....:s

EDIT: It was my syntax for the variable should have been: '{$product}' instead of just {$product} on it's own.

I've just spotted a potential issue. All the product prices are the same. How can I deal with this? Can Iput the product_price column in the product_images table and give each product it's own price value?

Kind regards,

LC.

Last edited by LearningCoder; 11-09-2012 at 02:22 PM..
LearningCoder is offline   Reply With Quote