Here is another valid syntax on which Sublime's PHP highlighting is failing:
$insert = mysql_query("INSERT INTO `catalogue` SET
Two of the odd lines need to be included. The first trips up the second and from then on everything further in the document is treated as a string and coloured accordingly. I'm assuming the nested double-quotes and curly braces are the culprit here.