Ok. I did it with the update behavior.. It deletes the text but now puts a 1 there..
Here is the code...
<?php
if ($_SERVER["REQUEST_METHOD"] == "POST") {
$UpdateQuery = new WA_MySQLi_Query($conn_mdb1);
$UpdateQuery->Action = "update";
$UpdateQuery->Table = "maintbl";
$UpdateQuery->bindColumn("doc1AltText", "s", "".((isset($_POST["doc1del"]))?$_POST["doc1del"]:"") ."", "WA_DEFAULT");
$UpdateQuery->addFilter("mainID", "=", "i", "".($_GET['mainID']) ."");
$UpdateQuery->execute();
$UpdateGoTo = "";
if (function_exists("rel2abs")) $UpdateGoTo = $UpdateGoTo?rel2abs($UpdateGoTo,dirname(__FILE__)):"";
$UpdateQuery->redirect($UpdateGoTo);
}
?>
I thought I did as you recommended. I did try changing the WA_DEFAULT to WA_BLANK Same result