php - I'm stuck with my SELECT sql query -
i'm having problem select sql statement , haven't figured out yet. when print out results using mysql_fetch_assoc()
function, repetitive rows/records. record repeated 13 times. don't know why , have done right far knowledge tells me.
the following sql query:
select members.member_id, members.firstname, members.lastname, billing_details.street_address, billing_details.mobile_no, orders_details.*, food_details.*, categories.*, cart_details.*, quantities.* members, billing_details, orders_details, categories, quantities, food_details, cart_details members.member_id=orders_details.member_id , billing_details.billing_id=orders_details.billing_id , orders_details.cart_id=cart_details.cart_id , cart_details.food_id=food_details.food_id , cart_details.quantity_id=quantities.quantity_id
you don't have "categories" in clause. guessing have 13 categories? if need better explanation, let me know.
Comments
Post a Comment