".$sql.""; $mdb2 = getConnection(); $affected = $mdb2->exec($sql); if (is_a($affected, 'PEAR_Error')) print 'Error: '.$affected->getMessage().'.'; else print "Successful update.\n"; } if ($request->isGet()) { echo('