Jump to content

Help with unexpected T_VARIABLE please


abbos

Recommended Posts

Hi,

 

I'm having a problem with the input box line. If I remove it my code works, so I know the issue is not a missing bracket.

 

Can anyone help?

 

$output[] = '<td colspan="4"><hr size="1"></td>';
	$output[] = '</tr>';
	$output = '<input name="labour" type="text" value="', $labour, '" maxlength="5" size="7" />';
	$total += $subtotal * $labour;
	$output[] = '<p align="right">Subtotal: <strong>£'.$subtotal.'</strong></p>';
	$output[] = '<p align="right">Total: <strong>£'.$total.'</strong></p>';

Link to comment
https://forums.phpfreaks.com/topic/133549-help-with-unexpected-t_variable-please/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.