SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Jul 2004
    Location
    milan
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    help: insert a master record than details (records) into another page

    Hi,
    I would like to know if anyone can help me to solve this problem. I am writing a small "order management system".
    I've created two MySQL tables into a database. The first is named "head" and contains the fields: cod_order, cod_customer, (and others). The second is named "body" and contains the fields: cod_order, cod_item, qty_item).
    I have also created a PHP page for inserting records the "head" database with Dreanweaver.
    Now I would like to create a page that can be used, once inserted the order code (field 'cod_order'), to insert into that order the items.

    Could anyone help me, please?
    Thank you.

  2. #2
    Free your mind Toly's Avatar
    Join Date
    Sep 2001
    Location
    Panama
    Posts
    2,181
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'm really not sure what you want to do.

    Could you provide more details please?
    Community Guidelines | Community FAQ

    "He that is kind is free, though he is a slave;
    he that is evil is a slave, though he be a king." - St. Augustine

  3. #3
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,263
    Mentioned
    60 Post(s)
    Tagged
    3 Thread(s)
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •