Insert And Then Update

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TKB
    New Member
    • Nov 2006
    • 8

    Insert And Then Update

    I have the following code but it doesn't work. Does anybody know?

    Thank you in advance for your effort.


    <?php
    $query = "INSERT INTO transportationc harges (Transportation Unit)
    VALUES ('$Transportati onUnit')";
    $updateSQL = $conn->GetUpdateSQL($ query, $Transportation Unit);
    $conn->Execute($updat eSQL);

    ?>
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    What class are you using for your db operations?

    Ronald :cool:

    Comment

    • bishwadeep
      New Member
      • Nov 2006
      • 12

      #3
      could you write me your error
      or connection code

      Comment

      Working...