WHERE `user_id`='$_REQUEST[uid]' && `form_id`='$_REQUEST[fid]'"; $qry = mysql_query($sql) or die(mysql_error()); if(mysql_num_rows($qry)>0) { $data = mysql_fetch_object($qry); $uid = $data->underwriter_id; $firstname = $getdatas->GetObjectById($uid,"first_name"); $lastname = $getdatas->GetObjectById($uid,"last_name"); echo "Bill is Successfully Forward to <b>".$firstname." ".$lastname."</b><br/>"; echo "<b>Emp No:</b>".$getdatas->GetObjectById($uid,"id")."<br/>"; echo "<b>Contact No:</b>".$getdatas->GetObjectById($uid,"contact_number")."<br/>"; $check = $data->underwriter_message; if($check!=0) { $var1 = $data->underwriter_message; echo "<b>Message From Underwriter:".$getdata =$getdatas->getDataAllTables("dec_name","decisions",$var1)."</b><br/>"; echo "<b>Emp No:</b>".$getdatas->GetObjectById($uid,"id")."<br/>"; echo "<b>Contact No:</b>".$getdatas->GetObjectById($uid,"contact_number")."<br/>"; } else { "Decision is Pending From Underwriter"; } } else { ?> <form name="forwardbill" id="otho_group" method="post" action=""> <select name="underwriter" onchange="getUnderwriterInfo(this.value)" required> <option value="">...Choose Underwriter...</option>