I need help with getting this to work, i've tried everything. it just doesn't seem to do the trick for me..
I would highly recommend using a prepared statement here though by switching from mysql to mysqli. Doing it this way is a security risk and prone to SQL injection.
This is very useful to understand the error returned.
Not the answer you're looking for? Browse other questions tagged php mysql database sql-update .