I have 4 tables, in table's 'tbl_Order'
has single record of each cusotmer.
in table's 'tbl_OrderDetail'
there are more then 1 Services (records) of each customer.
in table's 'tbl_services'
there are more then 10 pre-define services.
inch table's 'tbl_users'
there are customer's basic information.
my question is : how I can fetch data by each customer using PHP with MySql. My tables details are below:
tbl_Order: Order_ID,Order_Type,Order_Date,Time,Customer_ID,Booking_Type,Booking_Status,Order_No,Car_No,Booking_Date
tbl_OrderDetail: ID,Order_ID,Service_ID
tbl_services : Service_ID,S_Name,S_Price
tbl_users : Customer_ID ,User_Name