Rhythm Posted December 17, 2009 Share Posted December 17, 2009 i create a CV script . i have 2 table in database 1. basic_info 2. educa_info i can show data from basic_info with this code <head> <title></title> <? $username="root"; $password="usbw"; $database="rakcv"; $dbserver="localhost"; mysql_connect($dbserver,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="SELECT * FROM basic_info"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); echo "<b><center>Monthly Bill Generated By Live Broadband CRM. </center></b><br>"; $i=0; while ($i < $num) { $vid=mysql_result($result,$i,"vid"); $name=mysql_result($result,$i,"name"); $fname=mysql_result($result,$i,"fname"); $mname=mysql_result($result,$i,"mname"); $dobd=mysql_result($result,$i,"dobd"); $dobm=mysql_result($result,$i,"dobm"); $dobyr=mysql_result($result,$i,"dobyr"); $gen=mysql_result($result,$i,"gen"); $mstatus=mysql_result($result,$i,"mstatus"); $nation=mysql_result($result,$i,"nation"); $religion=mysql_result($result,$i,"religion"); $padd=mysql_result($result,$i,"padd"); $peradd=mysql_result($result,$i,"peradd"); $hphone=mysql_result($result,$i,"hphone"); $mobile=mysql_result($result,$i,"mobile"); $offphone=mysql_result($result,$i,"offphone"); $email=mysql_result($result,$i,"email"); $object=mysql_result($result,$i,"object"); $yexp=mysql_result($result,$i,"yexp"); $psal=mysql_result($result,$i,"psal"); $esal=mysql_result($result,$i,"esal"); $lfor=mysql_result($result,$i,"lfor"); $avilfor=mysql_result($result,$i,"avilfor"); $carsum=mysql_result($result,$i,"carsum"); $spequa=mysql_result($result,$i,"spequa"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Career - RAK Ceramics (Bangladesh) Ltd</title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link href="css/header.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- body { background-color: #f0eeee; margin-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; } --> </style> <!----------------ONLINE:-----------------------> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <table width="780" border="0" align="center" cellpadding="0" cellspacing="0" class="BDJPageBorder"> <tr> <td style="padding-left:19px; padding-right:19px;" colspan="2"> <FORM action="insert.php" method="POST"> <p><font face="Arial"> <font style="font-size: 28pt" color="#800000">RAK</font><font style="font-size: 28pt"> </font><font style="font-size: 20pt"><font color="#808080">Ceramics</font> Bangladesh Ltd.</font></b></font></p> <table width="738" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" bgcolor="#f6f9f5" style="border:1px solid #8496D7; padding:0px; "> <font face="Tahoma" size="2"> <!-------------- PERSONAL DETAILS ----------------> </font> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-bottom:1px;"> <tr> <td height="22" colspan="2" bgcolor="#dadce1" class="BDJFormTitle" style="padding-left:11px; padding-right:1px;"> <font face="Tahoma" size="2">Personal Detail </font> </td> </tr> <!--NAME:--> <tr> <td width="182" height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">National ID :</font></td> <td width="539" bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"><? echo $vid; ?> </font></td> </tr> <!--FATHERS NAME:--> <tr> <td width="182" height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Name :</font></td> <td width="539" bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $name; ?></font></td> </tr> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Father's Name :</font></td> <td bgcolor="#e9ece9" class="BDJValues"><? echo $fname; ?></td> </tr> <!--MOTHERS NAME:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Mother's Name :</font></td> <td bgcolor="#e9ece9" class="BDJValues"><? echo $mname; ?></td> </tr> <!--DATE OF BIRTH:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Date of Birth :</font></td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <!-- <input class="BDJtextBox" id="txtBirthDate" onClick="popUpCalendar(this, document.getElementById('txtBirthDate'), 'mm/dd/yyyy', 0, 0)" readonly="readonly" size="15" name="txtBirthDate" value="" > <img onClick="popUpCalendar(this, document.getElementById('txtBirthDate'),'mm/dd/yyyy',0,0)" height="16" alt="Choose Date" src="images/icons/calendar.gif" width="17" border="0" style="vertical-align:middle;"> --> <? echo $dobd; ?> <? echo $dobm; ?> <? echo $dobyr; ?></b> </font> </td> </tr> <!--GENDER:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Gender : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $gen; ?></b> </font> </td> </tr> <!--MARITAL STATUS:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Marital Status : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $mstatus; ?></b> </font> </td> </tr> <!--NATIONALITY:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Nationality : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $nation; ?> </font> </td> </tr> <!--RELIGION:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Religion : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"><? echo $religion; ?> <!--B class="BDJRequired">*</B--></font></td> </tr> <!--PRESENT ADDRESS--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Present Address : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font face="Tahoma"> <font size="2"> <? echo $padd; ?></font></font></td> </tr> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Permanent Address : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $peradd; ?></font></td> </tr> <!--USER HINTS:--> <!--HOME PHONE:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Home Phone : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $hphone; ?></font></td> </tr> <!--MOBILE:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Mobile : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $mobile; ?></font></td> </tr> <!--OFFICE PHONE:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Office Phone : </font> </td> <td bgcolor="#E9ECE9" class="BDJValues"> <? echo $offphone; ?></td> </tr> <!--USER HINTS:--> <!--EMAIL:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Email : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $email; ?></font> </td> </tr> <!--ALTERNATE EMAIL:--> </table> <font face="Tahoma" size="2"> <!------------------------------- CAREER AND APPLICANT INFORMATION: ---------------------------------> </font> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-bottom:1px;"> <tr> <td height="22" colspan="2" bgcolor="#dadce1" class="BDJFormTitle" style="padding-left:11px; padding-right:1px;"> <font face="Tahoma" size="2">Career and Application Information</font></td> </tr> <!--OBJECTIVE:--> <tr> <td width="182" height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Objective :</font></td> <td width="539" bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> </b> <? echo $object; ?></font> </td> </tr> <!--YEAR OF EXPERIENCE:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Year of Experience :</font></td> <td bgcolor="#e9ece9" class="BDJValues"> <table width="539" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="165"> <font size="2" face="Tahoma"> <? echo $yexp; ?> <span class="BDJInstruction2"><strong>Year.</strong> </span></font></td> <td width="374" class="BDJValues"></td> </tr> </table> </td> </tr> <!--PRESENT SALARY:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Present Salary :</font></td> <td bgcolor="#e9ece9" class="BDJValues"> <table width="539" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="277"> <font face="Tahoma"> <? echo $psal; ?><font size="2"> <span class="BDJInstruction2"><strong>Tk / Month</strong></span></font></font></td> <td width="262" class="BDJValues"> <font face="Tahoma" size="2"> <!--Hide Present Salary: <INPUT name="optSalHide" type="radio" class="BDJValign" value="1"> Yes <INPUT name="optSalHide" type="radio" class="BDJValign" value="0" CHECKED> No --> </font> </td> </tr> </table> </td> </tr> <!--EXPECTED SALARY:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Expected Salary : </font></td> <td bgcolor="#e9ece9" class="BDJValues"> <font face="Tahoma"> <? echo $esal; ?><font size="2"> <span class="BDJInstruction2"><strong>Tk / Month</strong></span> </font></font></td> </tr> <!--LOOKING FOR:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Looking For : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font face="Tahoma"> <font size="2"> <? echo $lfor; ?></font></font></td> </tr> <!--AVAILABLE FOR:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Available For : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font face="Tahoma"> <? echo $avilfor; ?></font></td> </tr> <!--USER HINTS:--> </table> <font face="Tahoma" size="2"> <!--Add by Azam--> <!--====--> <!-------------------------- OTHERS RELIVENT INFORMATION: ---------------------------> </font> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-bottom:1px;"> <tr> <td height="22" colspan="2" bgcolor="#dadce1" class="BDJFormTitle" style="padding-left:11px; padding-right:1px;"> <font face="Tahoma" size="2">Other Relevant Information</font></td> </tr> <tr> <td width="136" height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Career Summary :</font></td> <td width="557" bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $carsum; ?><br> </font> <span id="CADD_sp1" name="CADD_sp1" ></span> </td> </tr> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Special Qualification :</font></td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $spequa; ?><br> </font> <span id="CADD_sp2" name="CADD_sp2" ></span> </td> </tr> <tr> <td width="182" height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> </td> <td width="539" bgcolor="#e9ece9" class="BDJValues"> </td> </tr> <tr> <td height="22" colspan="2" bgcolor="#dadce1" class="BDJFormTitle" style="padding-left:11px; padding-right:1px;"> <font face="Tahoma" size="2">Educational Qualification </font> </td> </tr> <tr> <td width="721" height="29" align="center" bgcolor="#e9ece9" class="BDJLebels" colspan="2"> <div align="center"> <table border="0" width="732" id="table1" cellspacing="1"> <tr> <td align="center" bgcolor="#F9F9F9" width="135"> <font face="Tahoma" size="2">Level</font></b></td> <td width="90" align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Title</font></b></td> <td align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Group</font></b></td> <td width="123" align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Institute Name</font></b></td> <td width="60" align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Result </font></b></td> <td align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Year</font></b></td> <td width="118" align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Achievement </font></b> </td> </tr> <tr> <td colspan="7"> </td> </tr> </table> </div> </td> </tr> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> </td> <td bgcolor="#e9ece9" class="BDJValues"> </td> </tr> </table> <font face="Tahoma" size="2"> <!--==--> </font> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-bottom:1px;"> <tr> <td height="4" align="center" bgcolor="#dadce1"> <font size="2" face="Tahoma"> </font></td> </tr> </table> <p align="center"><font face="Tahoma" size="2"> <span class="BDJRequired"> *</b></span> <span class="BDJInstruction">All Fields Are Required</span> </font> </td> </tr> </table> <INPUT id="selected_Cat" type="hidden" name="selected_Cat" value=""> <INPUT id="selected_Job" type="hidden" name="selected_Job" value=""> <INPUT id="selected_JobCountry" type="hidden" name="selected_JobCountry" value=""> <INPUT id="selected_Dist" type="hidden" name="selected_Dist" value=""> </FORM> </td> </tr> <tr> <td style="padding-left:19px; padding-right:19px;" width="568"> <font face="Tahoma" style="font-size: 7pt">Copyright RAK Ceramics Bangladesh Ltd. 2010. All Rights Reserved.</font><span style="font-size: 7pt"> <br> </span><font face="Tahoma" style="font-size: 7pt">Sector # 00, RAK Tower 7th, 8th, 9th Floor, Jashimuddin Avenue, Uttra Model Town , Dhaka - 1230.</font><span style="font-size: 7pt"> </span></b> </td> <td style="padding-left:19px; padding-right:19px;" width="136"> <font face="Tahoma" style="font-size: 8pt" color="#808080">Developed By ALIEN BD IT</font></td> </tr> </body> </html> <? $i++; } echo "</table>"; now how can i show data from educa_info in same page ? thanks Link to comment https://forums.phpfreaks.com/topic/185494-hello-friends-need-a-help-here/ Share on other sites More sharing options...
taquitosensei Posted December 17, 2009 Share Posted December 17, 2009 select * from basic_info LEFT JOIN educa_info on basic_info.idfield=educa_info.idfield then you handle the fields from educa_info the same way you did the fields from basic_info Link to comment https://forums.phpfreaks.com/topic/185494-hello-friends-need-a-help-here/#findComment-979336 Share on other sites More sharing options...
Rhythm Posted December 17, 2009 Author Share Posted December 17, 2009 now i use this <head> <title></title> <script type="text/javascript"> <!-- var stile = "top=10, left=10, width=650, height=450 status=no, menubar=no, toolbar=no scrollbar=no"; function Popup(apri) { window.open(apri, "", stile); } //--> </script> <? $username="root"; $password="usbw"; $database="rakcv"; $dbserver="localhost"; mysql_connect($dbserver,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); $query="select * from basic_info LEFT JOIN educa_info on basic_info.idfield=educa_info.idfield"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); echo "<b><center>Monthly Bill Generated By Live Broadband CRM. </center></b><br>"; $i=0; while ($i < $num) { $vid=mysql_result($result,$i,"vid"); $name=mysql_result($result,$i,"name"); $fname=mysql_result($result,$i,"fname"); $mname=mysql_result($result,$i,"mname"); $dobd=mysql_result($result,$i,"dobd"); $dobm=mysql_result($result,$i,"dobm"); $dobyr=mysql_result($result,$i,"dobyr"); $gen=mysql_result($result,$i,"gen"); $mstatus=mysql_result($result,$i,"mstatus"); $nation=mysql_result($result,$i,"nation"); $religion=mysql_result($result,$i,"religion"); $padd=mysql_result($result,$i,"padd"); $peradd=mysql_result($result,$i,"peradd"); $hphone=mysql_result($result,$i,"hphone"); $mobile=mysql_result($result,$i,"mobile"); $offphone=mysql_result($result,$i,"offphone"); $email=mysql_result($result,$i,"email"); $object=mysql_result($result,$i,"object"); $yexp=mysql_result($result,$i,"yexp"); $psal=mysql_result($result,$i,"psal"); $esal=mysql_result($result,$i,"esal"); $lfor=mysql_result($result,$i,"lfor"); $avilfor=mysql_result($result,$i,"avilfor"); $carsum=mysql_result($result,$i,"carsum"); $spequa=mysql_result($result,$i,"spequa"); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Career - RAK Ceramics (Bangladesh) Ltd</title> <link href="css/style.css" rel="stylesheet" type="text/css" /> <link href="css/header.css" rel="stylesheet" type="text/css" /> <style type="text/css"> <!-- body { background-color: #f0eeee; margin-left: 0px; margin-top: 10px; margin-right: 0px; margin-bottom: 10px; } --> </style> <!----------------ONLINE:-----------------------> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <table width="780" border="0" align="center" cellpadding="0" cellspacing="0" class="BDJPageBorder"> <tr> <td style="padding-left:19px; padding-right:19px;" colspan="2"> <FORM action="insert.php" method="POST"> <p><font face="Arial"> <font style="font-size: 28pt" color="#800000">RAK</font><font style="font-size: 28pt"> </font><font style="font-size: 20pt"><font color="#808080">Ceramics</font> Bangladesh Ltd.</font></b></font></p> <table width="738" border="0" cellspacing="0" cellpadding="0"> <tr> <td valign="top" bgcolor="#f6f9f5" style="border:1px solid #8496D7; padding:0px; "> <font face="Tahoma" size="2"> <!-------------- PERSONAL DETAILS ----------------> </font> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-bottom:1px;"> <tr> <td height="22" colspan="2" bgcolor="#dadce1" class="BDJFormTitle" style="padding-left:11px; padding-right:1px;"> <font face="Tahoma" size="2">Personal Detail </font> </td> </tr> <!--NAME:--> <tr> <td width="182" height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">National ID :</font></td> <td width="539" bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"><? echo $vid; ?> </font></td> </tr> <!--FATHERS NAME:--> <tr> <td width="182" height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Name :</font></td> <td width="539" bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $name; ?></font></td> </tr> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Father's Name :</font></td> <td bgcolor="#e9ece9" class="BDJValues"><? echo $fname; ?></td> </tr> <!--MOTHERS NAME:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Mother's Name :</font></td> <td bgcolor="#e9ece9" class="BDJValues"><? echo $mname; ?></td> </tr> <!--DATE OF BIRTH:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Date of Birth :</font></td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <!-- <input class="BDJtextBox" id="txtBirthDate" onClick="popUpCalendar(this, document.getElementById('txtBirthDate'), 'mm/dd/yyyy', 0, 0)" readonly="readonly" size="15" name="txtBirthDate" value="" > <img onClick="popUpCalendar(this, document.getElementById('txtBirthDate'),'mm/dd/yyyy',0,0)" height="16" alt="Choose Date" src="images/icons/calendar.gif" width="17" border="0" style="vertical-align:middle;"> --> <? echo $dobd; ?> <? echo $dobm; ?> <? echo $dobyr; ?></b> </font> </td> </tr> <!--GENDER:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Gender : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $gen; ?></b> </font> </td> </tr> <!--MARITAL STATUS:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Marital Status : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $mstatus; ?></b> </font> </td> </tr> <!--NATIONALITY:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Nationality : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $nation; ?> </font> </td> </tr> <!--RELIGION:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Religion : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"><? echo $religion; ?> <!--B class="BDJRequired">*</B--></font></td> </tr> <!--PRESENT ADDRESS--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Present Address : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font face="Tahoma"> <font size="2"> <? echo $padd; ?></font></font></td> </tr> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Permanent Address : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $peradd; ?></font></td> </tr> <!--USER HINTS:--> <!--HOME PHONE:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Home Phone : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $hphone; ?></font></td> </tr> <!--MOBILE:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Mobile : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $mobile; ?></font></td> </tr> <!--OFFICE PHONE:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Office Phone : </font> </td> <td bgcolor="#E9ECE9" class="BDJValues"> <? echo $offphone; ?></td> </tr> <!--USER HINTS:--> <!--EMAIL:--> <tr> <td height="29" align="left" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Email : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $email; ?></font> </td> </tr> <!--ALTERNATE EMAIL:--> </table> <font face="Tahoma" size="2"> <!------------------------------- CAREER AND APPLICANT INFORMATION: ---------------------------------> </font> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-bottom:1px;"> <tr> <td height="22" colspan="2" bgcolor="#dadce1" class="BDJFormTitle" style="padding-left:11px; padding-right:1px;"> <font face="Tahoma" size="2">Career and Application Information</font></td> </tr> <!--OBJECTIVE:--> <tr> <td width="182" height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Objective :</font></td> <td width="539" bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> </b> <? echo $object; ?></font> </td> </tr> <!--YEAR OF EXPERIENCE:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Year of Experience :</font></td> <td bgcolor="#e9ece9" class="BDJValues"> <table width="539" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="165"> <font size="2" face="Tahoma"> <? echo $yexp; ?> <span class="BDJInstruction2"><strong>Year.</strong> </span></font></td> <td width="374" class="BDJValues"></td> </tr> </table> </td> </tr> <!--PRESENT SALARY:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Present Salary :</font></td> <td bgcolor="#e9ece9" class="BDJValues"> <table width="539" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="277"> <font face="Tahoma"> <? echo $psal; ?><font size="2"> <span class="BDJInstruction2"><strong>Tk / Month</strong></span></font></font></td> <td width="262" class="BDJValues"> <font face="Tahoma" size="2"> <!--Hide Present Salary: <INPUT name="optSalHide" type="radio" class="BDJValign" value="1"> Yes <INPUT name="optSalHide" type="radio" class="BDJValign" value="0" CHECKED> No --> </font> </td> </tr> </table> </td> </tr> <!--EXPECTED SALARY:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Expected Salary : </font></td> <td bgcolor="#e9ece9" class="BDJValues"> <font face="Tahoma"> <? echo $esal; ?><font size="2"> <span class="BDJInstruction2"><strong>Tk / Month</strong></span> </font></font></td> </tr> <!--LOOKING FOR:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Looking For : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font face="Tahoma"> <font size="2"> <? echo $lfor; ?></font></font></td> </tr> <!--AVAILABLE FOR:--> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Available For : </font> </td> <td bgcolor="#e9ece9" class="BDJValues"> <font face="Tahoma"> <? echo $avilfor; ?></font></td> </tr> <!--USER HINTS:--> </table> <font face="Tahoma" size="2"> <!--Add by Azam--> <!--====--> <!-------------------------- OTHERS RELIVENT INFORMATION: ---------------------------> </font> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-bottom:1px;"> <tr> <td height="22" colspan="2" bgcolor="#dadce1" class="BDJFormTitle" style="padding-left:11px; padding-right:1px;"> <font face="Tahoma" size="2">Other Relevant Information</font></td> </tr> <tr> <td width="136" height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Career Summary :</font></td> <td width="557" bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $carsum; ?><br> </font> <span id="CADD_sp1" name="CADD_sp1" ></span> </td> </tr> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> <font face="Tahoma" size="2">Special Qualification :</font></td> <td bgcolor="#e9ece9" class="BDJValues"> <font size="2" face="Tahoma"> <? echo $spequa; ?><br> </font> <span id="CADD_sp2" name="CADD_sp2" ></span> </td> </tr> <tr> <td width="182" height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> </td> <td width="539" bgcolor="#e9ece9" class="BDJValues"> </td> </tr> <tr> <td height="22" colspan="2" bgcolor="#dadce1" class="BDJFormTitle" style="padding-left:11px; padding-right:1px;"> <font face="Tahoma" size="2">Educational Qualification </font> </td> </tr> <tr> <td width="721" height="29" align="center" bgcolor="#e9ece9" class="BDJLebels" colspan="2"> <div align="center"> <table border="0" width="732" id="table1" cellspacing="1"> <tr> <td align="center" bgcolor="#F9F9F9" width="135"> <font face="Tahoma" size="2">Level</font></b></td> <td width="90" align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Title</font></b></td> <td align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Group</font></b></td> <td width="123" align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Institute Name</font></b></td> <td width="60" align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Result </font></b></td> <td align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Year</font></b></td> <td width="118" align="center" bgcolor="#F9F9F9"> <font face="Tahoma" size="2">Achievement </font></b> </td> </tr> <tr> <td colspan="7"> </td> </tr> </table> </div> </td> </tr> <tr> <td height="29" align="right" bgcolor="#e9ece9" class="BDJLebels"> </td> <td bgcolor="#e9ece9" class="BDJValues"> </td> </tr> </table> <font face="Tahoma" size="2"> <!--==--> </font> <table width="100%" border="0" cellspacing="1" cellpadding="0" style="margin-bottom:1px;"> <tr> <td height="4" align="center" bgcolor="#dadce1"> <font size="2" face="Tahoma"> </font></td> </tr> </table> <p align="center"><font face="Tahoma" size="2"> <span class="BDJRequired"> *</b></span> <span class="BDJInstruction">All Fields Are Required</span> </font> </td> </tr> </table> <INPUT id="selected_Cat" type="hidden" name="selected_Cat" value=""> <INPUT id="selected_Job" type="hidden" name="selected_Job" value=""> <INPUT id="selected_JobCountry" type="hidden" name="selected_JobCountry" value=""> <INPUT id="selected_Dist" type="hidden" name="selected_Dist" value=""> </FORM> </td> </tr> <tr> <td style="padding-left:19px; padding-right:19px;" width="568"> <font face="Tahoma" style="font-size: 7pt">Copyright RAK Ceramics Bangladesh Ltd. 2010. All Rights Reserved.</font><span style="font-size: 7pt"> <br> </span><font face="Tahoma" style="font-size: 7pt">Sector # 00, RAK Tower 7th, 8th, 9th Floor, Jashimuddin Avenue, Uttra Model Town , Dhaka - 1230.</font><span style="font-size: 7pt"> </span></b> </td> <td style="padding-left:19px; padding-right:19px;" width="136"> <font face="Tahoma" style="font-size: 8pt" color="#808080">Developed By ALIEN BD IT</font></td> </tr> </body> </html> <? $i++; } echo "</table>"; but i got this error Warning: mysql_numrows(): supplied argument is not a valid MySQL result resource in J:\career\get.php on line 22 Link to comment https://forums.phpfreaks.com/topic/185494-hello-friends-need-a-help-here/#findComment-979341 Share on other sites More sharing options...
Rhythm Posted December 17, 2009 Author Share Posted December 17, 2009 and i want to display all data which have same id from educa_info how ? thanks Link to comment https://forums.phpfreaks.com/topic/185494-hello-friends-need-a-help-here/#findComment-979355 Share on other sites More sharing options...
taquitosensei Posted December 17, 2009 Share Posted December 17, 2009 replace "idfield" with your id field Link to comment https://forums.phpfreaks.com/topic/185494-hello-friends-need-a-help-here/#findComment-979396 Share on other sites More sharing options...
Rhythm Posted December 17, 2009 Author Share Posted December 17, 2009 but it auto loop with same data Link to comment https://forums.phpfreaks.com/topic/185494-hello-friends-need-a-help-here/#findComment-979408 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.