anyone see any problems with the following query?
$dbq = new DBQuery;
$sql = "UPDATE categories SET name = " . $_REQUEST['txtRenCat'] . " = name WHERE id = " . $_REQUEST['id'];
$result = $dbq->Run_SQL($sql);
print $sql . mysql_error();
if ( !$result ) { print "Rename Failed"; }
thx