This Query:
$query = "UPDATE Length2 SET an='$an', as='$as', at='$at', by='$by', do='$do', go='$go', he='$he', if='$if', in='$in', is='$is', it='$it', me='$me', my='$my', no='$no', of='$of', on='$on', or='$or', so='$so', to='$to', tv='$tv', up='$up', us='$us', we='$we' WHERE id=0";
mysql_query($query) or die ('Error : ' . mysql_error());
Produces this error:
Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as='0', at='0', by='0', do='0', go='0', he='0', if='0', in='0',...
When I tinker with the query to try and correct the syntax I find that the error seems to go away when certain words are removed fro the update. Because of this, I believe that SQL has certain predefined 'things' (I can't think of a better word) that are being used in place of my table columns' names, causing the syntax error.
Could be wrong though :l
Any and all help is appreciated, especially workarounds ;)