Create a button on a Multi-Recod Form

Hello at all,

i create a button on a multilani form like this

   {LblCerca}="<button type='button' onclick="sc_redir('form_public_tabart','par1={codicefornitore}','modal','','300','600')">Cerca Cpf</button>";

but it give me an this error :

Parse error: syntax error, unexpected ‘if’ (T_IF) in C:\Program Files (x86)\NetMake\v8\wwwroot\scriptcase\app\EdsOrdini\form_public_tabord\form_public_tabord_apl.php on line 7666

i tried many time with different ways but nothing how we can do ?

thanks