This is my code, the problem that I am facing adding a button is unexpected '<' error. Is there any solution.
One more thing is that Can I add this Button inside a table class of a block.
$newtext1=<input name="View Attendance" type="button" value="new Discussion" align="center" onclick="windows.open('/segp_attendance/result_card.php')"/>;
$this->content->text.=$newtext1;
Thanks.