UPDATE FROM table SET field = REPLACE('p','',field) WHERE timeout < NOW()
SQL query:
UPDATE FROM characters SET _Flags = REPLACE( 'p', '', _Flags )
MySQL said:
#1064 - 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 'FROM characters SET _Flags = REPLACE('p','',_Flags)' at line 1