Insert into many to many tables with PHP?

how can I insert data from many tables with PHP

Page 1 of 1

3 Replies - 2804 Views - Last Post: 30 January 2009 - 06:37 PM Rate Topic: -----

#1 csboss  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 29-January 09

Insert into many to many tables with PHP?

Post icon  Posted 29 January 2009 - 12:23 PM

Good Day every one,

This is one of the famous problem that may any web-based programmer can face. Really, I have searched to get this problem out and find solution but still no clear answer yet.

Here it is, I have e-food web-based system that can customer order his food online my problem is:

I have three table( order, meal, order_meal)

1) (order(order_id , order_status , order_date ,order_time, customer_id)

2)meal(meal_id ,meal_number ,meal_name , meal_price)

3)order_meal(order_id ,meal_id)


I tried to look at many websites, including this website. But still there is no clear way to do it like tutorial our example to make it easy.. Especially, it is famous one>>>>Please could any one help me with that

thanx

csboss

Is This A Good Question/Topic? 0
  • +

Replies To: Insert into many to many tables with PHP?

#2 csboss  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 5
  • Joined: 29-January 09

Re: Insert into many to many tables with PHP?

Posted 30 January 2009 - 04:22 PM

View Postcsboss, on 29 Jan, 2009 - 11:23 AM, said:

Good Day every one,

This is one of the famous problem that may any web-based programmer can face. Really, I have searched to get this problem out and find solution but still no clear answer yet.

Here it is, I have e-food web-based system that can customer order his food online my problem is:

I have three table( order, meal, order_meal)

1) (order(order_id , order_status , order_date ,order_time, customer_id)

2)meal(meal_id ,meal_number ,meal_name , meal_price)

3)order_meal(order_id ,meal_id)


I tried to look at many websites, including this website. But still there is no clear way to do it like tutorial our example to make it easy.. Especially, it is famous one>>>>Please could any one help me with that

thanx

csboss

Is there any one to answer my question/?????
Was This Post Helpful? 0
  • +
  • -

#3 Valek  Icon User is offline

  • The Real Skynet
  • member icon

Reputation: 543
  • View blog
  • Posts: 1,713
  • Joined: 08-November 08

Re: Insert into many to many tables with PHP?

Posted 30 January 2009 - 05:41 PM

I see two problems here.

1) You have not posted us any code to work with, showing an effort on your part.
2) You didn't really ask a clear question, so I have no idea what you're trying to do, exactly.

If you could be a little more clear and show me some of the work you've done, I'll be more capable of helping you properly. Thanks :)
Was This Post Helpful? 0
  • +
  • -

#4 CTphpnwb  Icon User is online

  • D.I.C Lover
  • member icon

Reputation: 3103
  • View blog
  • Posts: 10,902
  • Joined: 08-August 08

Re: Insert into many to many tables with PHP?

Posted 30 January 2009 - 06:37 PM

Sheesh! Another poster who won't even put in the effort to read the rules, but still wants help!

Rules:
http://www.dreaminco...wtopic13121.htm
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1