abbos Posted November 20, 2008 Share Posted November 20, 2008 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 More sharing options...
rhodesa Posted November 20, 2008 Share Posted November 20, 2008 use periods, not comas Link to comment https://forums.phpfreaks.com/topic/133549-help-with-unexpected-t_variable-please/#findComment-694659 Share on other sites More sharing options...
abbos Posted November 20, 2008 Author Share Posted November 20, 2008 Thanks! Link to comment https://forums.phpfreaks.com/topic/133549-help-with-unexpected-t_variable-please/#findComment-694663 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.