Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2004
    Location
    Malaysia
    Posts
    25

    Unanswered: 2 transactions in one time

    Can somebody help me...

    My senario is i open a page and retrieve data from Table B. Then when I click button Go, 2 transactions i is giong on. one is insert the data in Table A. After insert then I want to delete the data I retrieve from Table B

    Please .....

  2. #2
    Join Date
    Feb 2002
    Location
    San Francisco, CA
    Posts
    441
    So whats the problem?

  3. #3
    Join Date
    Apr 2004
    Location
    Malaysia
    Posts
    25
    Originally posted by rhs98
    So whats the problem?
    There is an error when i want to do the 2 transaction using dreamweaver coding. It seen that i cannot did 2 transaction in one time.

  4. #4
    Join Date
    Feb 2002
    Location
    San Francisco, CA
    Posts
    441
    right so basically you want to insert two records at the same time?

    if so this is easy - just do both in one command. Seperate them as per your database. e.g. postgres;
    Code:
    insert into x (x,y,z) values (1,2,3);
    insert into x (x,y,z) values (1,2,3);
    do this all in one statement. You may have to hand code it if dreamweaver does not allow it.

Posting Permissions

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