'; $r.=UpdateJrn($cn,$p_id); $r.=''; $r.=''; $r.=''; $r.='

'; // echo '
'; echo $r; // echo '
'; } if ( isset($_POST['update_record']) ) { // NO UPDATE except rapt & comment UpdateComment($cn,$_POST['jr_id'],$_POST['comment']); InsertRapt($cn,$_POST['jr_id'],$_POST['rapt']); if ( isset ($_POST['is_paid'] )) $Res=ExecSql($cn,"update jrn set jr_rapt='paid' where jr_id=".$_POST['jr_id']); echo ' '; } // if update_record if ( $action == 'delete' ) { echo_debug(" Call DeleteRapt($cn,".$_GET['line'].",".$_GET['line2'].")"); DeleteRapt($cn,$_GET['line'],$_GET['line2']); echo ' '; } html_page_stop(); ?>