function get_surgical_history() { if (func_num_args() > 0) { $arg_list = func_get_args(); $type = $arg_list[0]; $remarks = $arg_list[1]; } print "<tr><td>"; print "<input id='operation' type='text' name='surgicalname' style='width:227px' placeholder='Operation'>"; print " <input id='operationdate' type='text' style='width:88px' name='surgicaldate' placeholder='mm-dd-yyyy'>"; print " <a href=\"javascript:show_calendar4('document.form_history.surgicaldate', document.form_history.surgicaldate.value);\"><img src='../images/cal.gif' width='16' height='16' border='0' alt='Click Here to Pick up the date'></a>"; print "<span style='margin:0 auto; display:inline-block;'><input id='save' type='submit' name='submitnotes' value='Add Surgical History'></span>"; print "<input id='recordID' type='hidden' name='recordID' value=''>"; print "<br/><br/><hr></hr><br/>" . notes::edit_surgical_history() . "</td></tr>"; //notes::add_surgical_history($post_vars,$get_vars,$_POST['surgicalname'],$_POST['surgicaldate']); }