Alright so I'm working on a form that spits out our inventory (cars) make model year kms and cost I have it working fine except that I noticed we store the cost in a seperate place IE: pulling all other information from SELECT * from cars WHERE model ='$model'
PHP Question
6
Alright so I'm working on a form that spits out our inventory (cars) make model year kms and cost I have it working fine except that I noticed we store the cost in a seperate place
IE: pulling all other information from SELECT * from cars WHERE model ='$model'
cost is store in bills using an ID per vehicle - so my question is when using while loops to echo out the results how to get the cost associated with each unit using the ID??
if I just use a seperate statement and enter the $row['cost'] into it i'm assuming it wouldn't pick up the ID and associate to the right vehicle?
does this make sense the way I explain?
IE: pulling all other information from SELECT * from cars WHERE model ='$model'
cost is store in bills using an ID per vehicle - so my question is when using while loops to echo out the results how to get the cost associated with each unit using the ID??
if I just use a seperate statement and enter the $row['cost'] into it i'm assuming it wouldn't pick up the ID and associate to the right vehicle?
does this make sense the way I explain?
- john_kennedy
- [1] reply
- CoursesWeb
- Earnie Boyd
- solidsoul
- Earnie Boyd
Next Topics on Trending Feed
-
6