When i've executed the command 'lock tables table1 write' i'm still able to perform an insert query on that table trough a php4 script. So the table clearly isnt locked... What am i doing wrong?
http://www.mysql.com/doc/L/O/LOCK_TABLES.html
check it out