Dynamic update of other php pages

Discussion in 'PHP' started by rogerluk, Jan 2, 2008.

  1. #1
    New to php web programming.

    I am writing a web based retail system.
    Consider using 2 horizontal frames. The upper frame is to enter one sales transaction at a time. Confirm with OK button. The lower frame is to display all transactions in a table.

    For example: customer buys a T-shirt (transaction 1), 3 caps (transaction 2) and 10 pairs of socks (transaction 3). The salesperson after hitting OK for transaction 1, the lower frame should display this transaction. After the last transaction is OK, the lower frame should show 3 transactions.

    Is it possible?

    How do the 2 frames (upper and lower) interact?

    Thanks for your help in advanced.
     
    rogerluk, Jan 2, 2008 IP
  2. Dagon

    Dagon Active Member

    Messages:
    122
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #2
    using the target attribute in your form you can target specific frames, for example <form method=post target=bottom> (and give the lower frame the name 'bottom')
     
    Dagon, Jan 2, 2008 IP
  3. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #3
    This is not php... it is html.
     
    Kaizoku, Jan 2, 2008 IP