This could be caused by the PHP code that is being inserted. $1, $2, $3, $4 and $5 aren't valid PHP variables (see http://www.php.net/manual/en/language.variables.basics.php), try to rename them to $v1, $v2 ... $v5.
dark_charlie
2010-08-29 12:49:26