i have this object in my form:
<select name="Array[group]" class="1" id="select">
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
but when i want use from update it can not update:
$Query = "UPDATE ".$TableName."
SET title = '$Array[title]',
lid = '$Array[lid]',
body = '$Array[body]',
group = '$Array[group]',
fnews = '$khabar',
pic = '$NNew',
WHERE id = '".$id."'";
so when i remove "group = '$Array[group]'," form this query it can does and it is update.
other objects in my form are text input.
i sure that is gorup field in my table and it's name is 'group'
please help me