Welcome Guest, Not a member yet? Register   Sign In
Solved : Newbie question - Working with models
#9

[eluser]ywftdg[/eluser]
The $id comes from function get_bundlestats($id,$datepost) {

My code works as: The first part is looking for products that have a value in pSkulist. If values, grab those items as skulist, as well grab the sum of what they all are worth. Then my second part, looks to see if there are 'designers' of those products, but it has to check the skulist and see if there is a sku (for that designer) in the list (array). So where my gap is, how to reference that first result of skulists, into the next query. I got an understanding of what needs to be done and what tables link, etc. What I dont understand, is how can I call a value named in a other select, into the next select.

Right now, when I use tat skulist, it just returns Message: Undefined variable: skulist


Messages In This Thread
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 12:26 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 12:45 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 01:00 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 01:12 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 01:20 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 01:33 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 01:43 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 02:08 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 02:15 AM
Solved : Newbie question - Working with models - by El Forum - 08-11-2008, 03:39 AM
Solved : Newbie question - Working with models - by El Forum - 08-12-2008, 12:15 AM
Solved : Newbie question - Working with models - by El Forum - 08-12-2008, 01:45 AM
Solved : Newbie question - Working with models - by El Forum - 08-12-2008, 11:44 PM
Solved : Newbie question - Working with models - by El Forum - 08-13-2008, 07:21 AM



Theme © iAndrew 2016 - Forum software by © MyBB