Thanks, I found the WHERE issue about 10mins ago.

I know the issue with the ereg. I plan to change it once I get the other parts of the script working. For the mysql_query code I am having trouble with the updating.
The code up above will not work for updating, but when I add the actual value it updates. What do I need to do so this is automatic? Grab the current price and post it into the where? This isn't making much sense to me.