After saving my header Template i will get MYSQL ERROR 1064

Whats with this Error?
Invalid SQL:
SELECT templateid
FROM vb3_template
WHERE styleid = AND title = 'header';
MySQL-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 'AND title = 'header'' at line 3
Error-Nr. : 1064
Error-Time : Friday, 17.02.2012 @ 20:24:46
Date : Friday, 17.02.2012 @ 20:24:46
This is my HEADER Template:
http://pastebin.com/NTScXi5y
--------------- Added [DATE]1329511616[/DATE] at [TIME]1329511616[/TIME] ---------------
got it ... i saved same template in 2 firefox tabs
--------------- Added [DATE]1329512153[/DATE] at [TIME]1329512153[/TIME] ---------------
Can be marked as Solved ^^