Someone
public text v1 · immutable<?php
#############################
// UPDATE VFP FILES
#############################
# define some variables
$aloc = "1111";
$item = "SF";
#define the query
$query = "UPDATE arinvt$co SET aloc = $aloc WHERE item = $item";
# perform the query
$update = odbc_exec($connect, $query);
# error check the result query
if (!$update)
{
exit ("SQL Error: " . odbc_errormsg());
} else {
echo "Update Successful!";
}
?>