I tried to update a record with some feedback it gives
Forbidden
You don't have permission to access /xxx/xxx/update.php on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Mysql Query is:
mysql_query("UPDATE `table_name` SET `feedback`='".$_REQUEST['feedback']."' WHERE `cid` =xx");
The feedback is customer is having 6 windows and 3 patio doors. When I remove having, and then only I'm able to submit because these are MYSQL reserved words. Changed file permissions, but nothing works. 
And the .htaccess contains  
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domainname\.com$ [NC]
RewriteRule ^(.*)$ http://www.domainname.com/$1 [R=301,L]
#AddType application/x-httpd-php4 .php .htm .html
# Hide images, css and js
Options -Indexes
ErrorDocument 404 http://www.domainname.com/404.html
How to solve this problem?
 
     
    