Jump to content

aeshanw

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

aeshanw's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Here's more code if u'd like to know how I used it. if(isset($_POST['Submit'])) { $subCat = $_POST['subCat']; $check = $_POST['check']; foreach($check as $id){ if(odbc_exec($odbc, "UPDATE tblProducts SET subCatId='$subCat' WHERE ProdNo='$id'")){ echo "<br>UPDATE SUCCESS!"; }else{ echo "<br>UPDATE FAILED!"; } } echo "UPDATE COMPLETE!"; }
  2. I'm trying to use PHP with an MS Access but Im having problesm with this UPDATE statment. odbc_exec($odbc, "UPDATE tblProducts SET subCatId='$subCat' WHERE ProdNo='$id'"); Any idea why?thanks!
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.