<?php
//	error_reporting(0);
	define('INCLUDE_CHECK',true);
	session_start();
	require ('classes/config.php');
	require_once('classes/session.php');
	
	if(isset($_POST['submit'])){

           $sqlupdate=mysql_query("UPDATE vsec_details
		   							SET matricno='{$_POST['matricno']}',
									    surname='{$_POST['surname']}',
									    othernames='{$_POST['othernames']}',
									    dob='{$_POST['dob']}',
									    state='{$_POST['state']}',
		   							    lga='{$_POST['lga']}',
									    hometown='{$_POST['hometown']}',
									    sex='{$_POST['sex']}',
									    address='{$_POST[address]}',
									    maritalstatus='{$_POST['maritalstatus']}',
									    religion='{$_POST['religion']}',
									    phone='{$_POST['phone']}',
									    courses='{$_POST['courses']}',
									    faculty= '{$_POST['faculty']}',
									    department= '{$_POST['department']}',
									    level= '{$_POST['level']}',
									    previous_skill='{$_POST['previous_skill']}',
									    p_where='{$_POST['p_where']}',
									    p_when='{$_POST['p_when']}',
									    duration='{$_POST['duration']}',
									    pro_acquired='{$_POST['pro_acquired']}'
									    
									WHERE formno ='{$_POST['formno']}'")or die ('An error occured ' . mysql_error());
			
			header("location: dashboard.php?action=vsec_editing");
	}	
?>
<title>OSCOTECH, ESA-OKE :: Admin-Dashboard > 2017 Form Editing</title>


        <div id="page-wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <h1 class="page-header">VSEC Form Editing</h1>
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            <div class="row">
                <div class="col-lg-12">
                	<div class="well" style="background:#FFF">
                    	<form method="post" action="" role="form">
                        	<div class="form-group input-group">
                                <input type="text" class="form-control" placeholder="Search for Surname, Form No, Email Address"name="searchtxt" title="Enter name for search " autocomplete="off">
                                <span class="input-group-btn">
                                    <input type="submit" class="btn btn-danger" name="btnsearch" value="Search" id="button-search" title="Search Student">
                                </span>
                            </div>
                        </form>
                    </div>
                    <div class="panel panel-default">
                        <div class="panel-heading">
                            Vocational Student Details Table
                        </div>
                        <!-- /.panel-heading -->
                        <div class="panel-body">
                            <div class="dataTable_wrapper">
                                
					<?php
                        $key="";
                        if(isset($_POST['searchtxt']))
                            $key=$_POST['searchtxt'];
                        
                            $sql=mysql_query("SElECT * FROM vsec_details WHERE formno='$key'");

                        $i=0;
                        while($rows=mysql_fetch_array($sql)){
						
                    ?>
<div class="col-lg-8">
    <form method="post" action="" role="form">
        <?php if ($_SESSION['ftype']!='FTH'){ ?>
        <div class="form-group">
            <label class="col-md-2 control-label" for="faculty">Faculty:</label>
            <select class="form-control register" name="faculty" required>
            	<option value="<?php echo $rows['faculty']; ?>"><?php echo $rows['faculty']; ?></option>
                <option value="Management Science">Management Science</option>
                <option value="Environmental Studies">Environmental Studies</option>
                <option value="Engineering">Engineering</option>
                <option value="Applied Science">Applied Science</option>
            </select>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="title">Department:</label>
            <select class="form-control register" name="department" required>
            	<option value="<?php echo $rows['department']; ?>"><?php echo $rows['department']; ?></option>
					<?php 
                            $getdept = mysql_query("SELECT department FROM school_setup WHERE programme='ND'");
                            while($row = mysql_fetch_array($getdept)){
                        ?>
                            <option value="<?php echo $row['department'] ?>"><?php echo $row['department']?></option>
                        <?php
                            }
                        ?>
     		</select>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="level">Level:</label>
            <select class="form-control register" name="level" required>
            	<option value="<?php echo $rows['level']; ?>"><?php echo $rows['level']; ?></option>
                <option value="ND I">ND I</option>
                <option value="ND II">ND II</option>
                <option value="HND I">HND I</option>
                <option value="HND II">HND II</option>
            </select>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="matrino">Matric No:</label>
            <input class="form-control register"  type="form-control register" value="<?php echo $rows['matricno']; ?>" name="matricno" placeholder="Matric Number">
        </div>
        <?php } ?>
        <div class="form-group">
            <label class="col-md-2 control-label" for="surname">Surname:</label>
            <input class="form-control register"  type="form-control register" value="<?php echo $rows['surname']; ?>" name="surname" placeholder="Surname" required>
            <input class="form-control register"  type="form-control register" value="<?php echo $rows['formno']; ?>" name="formno" placeholder="form" required>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="otherrname">Other Name:</label>
            <input class="form-control register" type="form-control register" value="<?php echo $rows['othernames']; ?>" name="othernames" placeholder="Other Names" required>
        </div>    
        <div class="form-group">
            <label class="col-md-2 control-label" for="dob">Date of Birth:</label>
            <input class="form-control register" type="form-control register" value="<?php echo $rows['dob']; ?>" name="dob"  placeholder="dd-mm-yyyy" required>
        </div>  
        <div class="form-group">
            <label class="col-md-2 control-label" for="sex">Sex:</label>
            <select class="form-control register" name="sex" required>
                <option value="<?php echo $rows['sex']; ?>"><?php echo $rows['sex']; ?></option>
                <option value="Male">Male</option>
                <option value="Female">Female</option>
            </select>
        </div>  
        <div class="form-group">
            <label class="col-md-2 control-label" for="maritalstatus">Marital Status:</label>
            <select class="form-control register" name="maritalstatus" required>
                <option value="<?php echo $rows['maritalstatus']; ?>"><?php echo $rows['maritalstatus']; ?></option>
                <option value="Single">Single</option>
                <option value="Married">Married</option>
                <option value="Divorced">Divorced</option>
            </select>
        </div>  
        <div class="form-group">
            <label class="col-md-2 control-label" for="nationality">Nationality:</label>
            <select name="nationality" class="form-control register" required >
                <option value="<?php echo $rows['nationality']; ?>"><?php echo $rows['nationality']; ?></option>
                <option value="Nigeria">Nigeria</option>
                <option value="Non-Nigeria">Non-Nigeria</option>
            </select>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="religion">Religion:</label>
            <select name="religion" class="form-control register" required >
                <option value="<?php echo $rows['religion']; ?>"><?php echo $rows['religion']; ?></option>
                <option value="Christianity">Christianity</option>
                <option value="Islam">Islam</option>
                <option value="Others">Others</option>
            </select>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="state">State of Origin:</label>
            <select name="state" class="form-control register" required >
                <option value="<?php echo $rows['state']; ?>"><?php echo $rows['state']; ?></option>
                <option value="Abia">Abia</option>
                <option value="Adamawa">Adamawa</option>
                <option value="Akwa-Ibom">Akwa-Ibom</option>
                <option value="Anambra">Anambra</option>
                <option value="Bauchi">Bauchi</option>
                <option value="Bayelsa">Bayelsa</option>
                <option value="Benue">Benue</option>
                <option value="Borno">Borno</option>
                <option value="Cross-River">Cross-River</option>
                <option value="Delta">Delta</option>
                <option value="Ebonyi">Ebonyi</option>
                <option value="Edo">Edo</option>
                <option value="Ekiti">Ekiti</option>
                <option value="Enugu">Enugu</option>
                <option value="FCT-Abuja">FCT-Abuja</option>
                <option value="Gombe">Gombe</option>
                <option value="Imo">Imo</option>
                <option value="Jigawa">Jigawa</option>
                <option value="Kaduna">Kaduna</option>
                <option value="Kano">Kano</option>
                <option value="Katsina">Katsina</option>
                <option value="Kebbi">Kebbi</option>
                <option value="Kogi">Kogi</option>
                <option value="Kwara">Kwara</option>
                <option value="Lagos">Lagos</option>
                <option value="Nasarawa">Nasarawa</option>
                <option value="Niger">Niger</option>
                <option value="Ogun">Ogun</option>
                <option value="Ondo">Ondo</option>
                <option value="Osun">Osun</option>
                <option value="Oyo">Oyo</option>
                <option value="Plateau">Plateau</option>
                <option value="Rivers">Rivers</option>
                <option value="Sokoto">Sokoto</option>
                <option value="Taraba">Taraba</option>
                <option value="Yobe">Yobe</option>
                <option value="Zamfara">Zamfara</option>
                <option value="Non-Nigerian">Non-Nigerian</option>
            </select>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="lga">Local Govt. Area:</label>
            <select name="lga" class="form-control register" required >
                <option value="<?php echo $rows['lga']; ?>"><?php echo $rows['lga']; ?></option>
          <option value="-Not Listed-">-Not Listed-</option><option value="Aba North">Aba North</option><option value="Aba South">Aba South</option><option value="Abadam">Abadam</option><option value="Abaji">Abaji</option><option value="Abak">Abak</option><option value="Abakaliki">Abakaliki</option><option value="Abeokuta North">Abeokuta North</option><option value="Abeokuta South">Abeokuta South</option><option value="Abi">Abi</option><option value="Aboh-Mbaise">Aboh-Mbaise</option><option value="Abua/Odual">Abua/Odual</option><option value="Abuja Municipal">Abuja Municipal</option><option value="Adavi">Adavi</option><option value="Ado-Ekiti">Ado-Ekiti</option><option value="Ado-Odo/Ota">Ado-Odo/Ota</option><option value="Afijio">Afijio</option><option value="Afikpo North">Afikpo North</option><option value="Afikpo South">Afikpo South</option><option value="Agaie">Agaie</option><option value="Agatu">Agatu</option><option value="Agege">Agege</option><option value="Aguata">Aguata</option><option value="Agwara">Agwara</option><option value="Ahiazu-Mbaise">Ahiazu-Mbaise</option><option value="Ahoada East">Ahoada East</option><option value="Ahoada West">Ahoada West</option><option value="Aiyedade">Aiyedade</option><option value="Aiyedire">Aiyedire</option><option value="Ajaokuta">Ajaokuta</option><option value="Ajeromi-Ifelodun">Ajeromi-Ifelodun</option><option value="Ajingi">Ajingi</option><option value="Akamkpa">Akamkpa</option><option value="Akinyele">Akinyele</option><option value="Akko">Akko</option><option value="Akoko Edo">Akoko Edo</option><option value="Akoko North East">Akoko North East</option><option value="Akoko North West">Akoko North West</option><option value="Akoko South Akure East">Akoko South Akure East</option><option value="Akoko South West">Akoko South West</option><option value="Akpabuyo">Akpabuyo</option><option value="Akuku Toru">Akuku Toru</option><option value="Akure North">Akure North</option><option value="Akure South">Akure South</option><option value="Akwa North">Akwa North</option><option value="Akwa South">Akwa South</option><option value="Akwanga">Akwanga</option><option value="Albasu">Albasu</option><option value="Aleiro">Aleiro</option><option value="Alimosho">Alimosho</option><option value="Alkeri">Alkeri</option><option value="Amuwo-Odofin">Amuwo-Odofin</option><option value="Anambra East">Anambra East</option><option value="Anambra West">Anambra West</option><option value="Ananocha">Ananocha</option><option value="Andoni">Andoni</option><option value="Aninri">Aninri</option><option value="Aniocha">Aniocha</option><option value="Aniocha South">Aniocha South</option><option value="Anka">Anka</option><option value="Ankpa">Ankpa</option><option value="Apa">Apa</option><option value="Apapa">Apapa</option><option value="Ardo-Kola">Ardo-Kola</option><option value="Arewa-Dandi">Arewa-Dandi</option><option value="Argungu">Argungu</option><option value="Arochukwu">Arochukwu</option><option value="Asa">Asa</option><option value="Asari-Toru">Asari-Toru</option><option value="Askira/Uba">Askira/Uba</option><option value="Atakumosa East">Atakumosa East</option><option value="Atakumosa West">Atakumosa West</option><option value="Atiba">Atiba</option><option value="Atigbo">Atigbo</option><option value="Atisbo">Atisbo</option><option value="Augie">Augie</option><option value="Auyo">Auyo</option><option value="Awe">Awe</option><option value="Ayamelum">Ayamelum</option><option value="Babura">Babura</option><option value="Badagry">Badagry</option><option value="Bade">Bade</option><option value="Bagudo">Bagudo</option><option value="Bagwai">Bagwai</option><option value="Bakassi">Bakassi</option><option value="Bakori">Bakori</option><option value="Bakura">Bakura</option><option value="Balanbga">Balanbga</option><option value="Bali">Bali</option><option value="Bama">Bama</option><option value="Barinkin Ladi">Barinkin Ladi</option><option value="Baruten">Baruten</option><option value="Bassa">Bassa</option><option value="Batagarawa">Batagarawa</option><option value="Batsari">Batsari</option><option value="Bauchi">Bauchi</option><option value="Baure">Baure</option><option value="Bayo">Bayo</option><option value="Bebeji">Bebeji</option><option value="Bekwara">Bekwara</option><option value="Bende">Bende</option><option value="Biase">Biase</option><option value="Bichi">Bichi</option><option value="Bida">Bida</option><option value="Billiri">Billiri</option><option value="Bindawa">Bindawa</option><option value="Binji">Binji</option><option value="Biriniwa">Biriniwa</option><option value="Birni Kudu">Birni Kudu</option><option value="Birni-Gwari">Birni-Gwari</option><option value="Birnin Kebbi">Birnin Kebbi</option><option value="Birnin Magaji">Birnin Magaji</option><option value="Biu">Biu</option><option value="Bodinga">Bodinga</option><option value="Bogoro">Bogoro</option><option value="Boki">Boki</option><option value="Bokkos">Bokkos</option><option value="Boluwaduro">Boluwaduro</option><option value="Bomadi">Bomadi</option><option value="Bonny">Bonny</option><option value="Borgu">Borgu</option><option value="Boripe">Boripe</option><option value="Bosso">Bosso</option><option value="Brass">Brass</option><option value="Buji">Buji</option><option value="Bukkuyum">Bukkuyum</option><option value="Bungudu">Bungudu</option><option value="Bunkure">Bunkure</option><option value="Bunza">Bunza</option><option value="Bursari">Bursari</option><option value="Buruku">Buruku</option><option value="Burutu">Burutu</option><option value="Bwari">Bwari</option><option value="Calabar Municipality">Calabar Municipality</option><option value="Calabar South">Calabar South</option><option value="Cassol">Cassol</option><option value="Central">Central</option><option value="Chanchaga">Chanchaga</option><option value="Charanchi">Charanchi</option><option value="Chibok">Chibok</option><option value="Chikun">Chikun</option><option value="Dala">Dala</option><option value="Damaturu">Damaturu</option><option value="Damban">Damban</option><option value="Dambatta">Dambatta</option><option value="Damboa">Damboa</option><option value="Dan Musa">Dan Musa</option><option value="Dandi">Dandi</option><option value="Dandume">Dandume</option><option value="Dange-shnsi">Dange-shnsi</option><option value="Danja">Danja</option><option value="Darazo">Darazo</option><option value="Dass">Dass</option><option value="Daura">Daura</option><option value="Dawakin Kudu">Dawakin Kudu</option><option value="Dawakin Tofa">Dawakin Tofa</option><option value="Degema">Degema</option><option value="Dekina">Dekina</option><option value="Demsa">Demsa</option><option value="Dikwa">Dikwa</option><option value="Doguwa">Doguwa</option><option value="Doma">Doma</option><option value="Donga">Donga</option><option value="Dukku">Dukku</option><option value="Dunukofia">Dunukofia</option><option value="Dutse">Dutse</option><option value="Dutsi">Dutsi</option><option value="Dutsin-Ma">Dutsin-Ma</option><option value="Eastern Obol">Eastern Obol</option><option value="Ebonyi">Ebonyi</option><option value="Edati">Edati</option><option value="Ede North">Ede North</option><option value="Ede South">Ede South</option><option value="Edu">Edu</option><option value="Efon">Efon</option><option value="Egbado North">Egbado North</option><option value="Egbado South">Egbado South</option><option value="Egbeda">Egbeda</option><option value="Egbedore">Egbedore</option><option value="Egor">Egor</option><option value="Ehime-Mbano">Ehime-Mbano</option><option value="Ejigbo">Ejigbo</option><option value="Ekeremor">Ekeremor</option><option value="Eket">Eket</option><option value="Ekiti">Ekiti</option><option value="Ekiti South-West">Ekiti South-West</option><option value="Ekiti-East">Ekiti-East</option><option value="Ekiti-East">Ekiti-East</option><option value="Ekwusigo">Ekwusigo</option><option value="Eleme">Eleme</option><option value="Emohua">Emohua</option><option value="Emure/Ise/Orun">Emure/Ise/Orun</option><option value="Enugu East">Enugu East</option><option value="Enugu North">Enugu North</option><option value="Enugu South">Enugu South</option><option value="Epe">Epe</option><option value="Esan">Esan</option><option value="Esan Central">Esan Central</option><option value="Esan North-East">Esan North-East</option><option value="Esan South-East">Esan South-East</option><option value="Esan West">Esan West</option><option value="Ese-Odo">Ese-Odo</option><option value="Esit Eket">Esit Eket</option><option value="Essien Udim">Essien Udim</option><option value="Etche">Etche</option><option value="Ethiope East">Ethiope East</option><option value="Ethiope West">Ethiope West</option><option value="Eti-Osa">Eti-Osa</option><option value="Etim Ekpo">Etim Ekpo</option><option value="Etinan">Etinan</option><option value="Etsako Central">Etsako Central</option><option value="Etsako East">Etsako East</option><option value="Etung">Etung</option><option value="Ewekoro">Ewekoro</option><option value="Ezeagu">Ezeagu</option><option value="Ezinihitte">Ezinihitte</option><option value="Ezza">Ezza</option><option value="Ezza South">Ezza South</option><option value="Fagge">Fagge</option><option value="Fakai">Fakai</option><option value="Faskari">Faskari</option><option value="Fika">Fika</option><option value="Fufore Ganaye">Fufore Ganaye</option><option value="Fune">Fune</option><option value="Funtua">Funtua</option><option value="Funukaye">Funukaye</option><option value="Gabasawa">Gabasawa</option><option value="Gada">Gada</option><option value="Gagarawa">Gagarawa</option><option value="Ganjuwa">Ganjuwa</option><option value="Garki">Garki</option><option value="Garko">Garko</option><option value="Garum">Garum</option><option value="Gashaka">Gashaka</option><option value="Gawabawa">Gawabawa</option><option value="Gaya">Gaya</option><option value="Gbako">Gbako</option><option value="Gboko">Gboko</option><option value="Gboyin">Gboyin</option><option value="Geidam">Geidam</option><option value="Gezawa">Gezawa</option><option value="Giade">Giade</option><option value="Gieri">Gieri</option><option value="Giwa">Giwa</option><option value="Gokana">Gokana</option><option value="Gombe">Gombe</option><option value="Gombi">Gombi</option><option value="Goronyo">Goronyo</option><option value="Gubio">Gubio</option><option value="Gudu">Gudu</option><option value="Gujba">Gujba</option><option value="Gulani">Gulani</option><option value="Guma">Guma</option><option value="Gumel">Gumel</option><option value="Gummi">Gummi</option><option value="Gurara">Gurara</option><option value="Guri">Guri</option><option value="Gusau">Gusau</option><option value="Guyuk">Guyuk</option><option value="Guzamala">Guzamala</option><option value="Gwagwalada">Gwagwalada</option><option value="Gwale">Gwale</option><option value="Gwandu">Gwandu</option><option value="Gwaram">Gwaram</option><option value="Gwarzo">Gwarzo</option><option value="Gwer East">Gwer East</option><option value="Gwer West">Gwer West</option><option value="Gwiwa">Gwiwa</option><option value="Gwoza">Gwoza</option><option value="Hadejia">Hadejia</option><option value="Hawul">Hawul</option><option value="Hong">Hong</option><option value="Ibadan Central">Ibadan Central</option><option value="Ibadan North">Ibadan North</option><option value="Ibadan North East">Ibadan North East</option><option value="Ibadan North West">Ibadan North West</option><option value="Ibadan South East">Ibadan South East</option><option value="Ibadan South West">Ibadan South West</option><option value="Ibaji">Ibaji</option><option value="Ibarapa Central">Ibarapa Central</option><option value="Ibarapa East">Ibarapa East</option><option value="Ibarapa North">Ibarapa North</option><option value="Ibeju/Lekki">Ibeju/Lekki</option><option value="Ibeno">Ibeno</option><option value="Ibesikpo Asutan">Ibesikpo Asutan</option><option value="Ibi">Ibi</option><option value="Ibiono Ibom">Ibiono Ibom</option><option value="Idah">Idah</option><option value="Idanre">Idanre</option><option value="Ideato North">Ideato North</option><option value="Ideato South">Ideato South</option><option value="Idemili North">Idemili North</option><option value="Idemili South">Idemili South</option><option value="Ido">Ido</option><option value="Ido/Osi">Ido/Osi</option><option value="Ifako-Ijaye">Ifako-Ijaye</option><option value="Ife Central">Ife Central</option><option value="Ife East">Ife East</option><option value="Ife North">Ife North</option><option value="Ife South">Ife South</option><option value="Ifedayo">Ifedayo</option><option value="Ifedore">Ifedore</option><option value="Ifelodun">Ifelodun</option><option value="Ifo">Ifo</option><option value="Igabi">Igabi</option><option value="Igalamela-Odolu">Igalamela-Odolu</option><option value="Igbo-Ekiti">Igbo-Ekiti</option><option value="Igbo-Eze">Igbo-Eze</option><option value="Igbo-Eze North">Igbo-Eze North</option><option value="Igueben">Igueben</option><option value="Ihiala">Ihiala</option><option value="Ihitte/Uboma">Ihitte/Uboma</option><option value="Ijebu East">Ijebu East</option><option value="Ijebu North">Ijebu North</option><option value="Ijebu North East">Ijebu North East</option><option value="Ijebu Ode">Ijebu Ode</option><option value="Ijero">Ijero</option><option value="Ijumu">Ijumu</option><option value="Ika">Ika</option><option value="Ika North-West">Ika North-West</option><option value="Ika South">Ika South</option><option value="Ikara">Ikara</option><option value="Ikare">Ikare</option><option value="Ikeduru">Ikeduru</option><option value="Ikeja">Ikeja</option><option value="Ikenne">Ikenne</option><option value="Ikere">Ikere</option><option value="Ikole">Ikole</option><option value="Ikom">Ikom</option><option value="Ikono">Ikono</option><option value="Ikorodu">Ikorodu</option><option value="Ikot Abasi">Ikot Abasi</option><option value="Ikot Ekpene">Ikot Ekpene</option><option value="Ikwo">Ikwo</option><option value="Ikwuano">Ikwuano</option><option value="Ila">Ila</option><option value="Ilaje">Ilaje</option><option value="Ile-Oluji">Ile-Oluji</option><option value="Ilejemeje">Ilejemeje</option><option value="Ilesha East">Ilesha East</option><option value="Ilesha West">Ilesha West</option><option value="Illela">Illela</option><option value="Ilorin East">Ilorin East</option><option value="Ilorin West">Ilorin West</option><option value="Imeko-Afon">Imeko-Afon</option><option value="Ingawa">Ingawa</option><option value="Ini">Ini</option><option value="Ipokia">Ipokia</option><option value="Irele">Irele</option><option value="Irelodun">Irelodun</option><option value="Irepo">Irepo</option><option value="Irepodun">Irepodun</option><option value="Irewole">Irewole</option><option value="Iropondun">Iropondun</option><option value="Isa">Isa</option><option value="Ise/Orun">Ise/Orun</option><option value="Iseyin">Iseyin</option><option value="Ishielu">Ishielu</option><option value="Isi-uzo">Isi-uzo</option><option value="Isiala Mbano">Isiala Mbano</option><option value="Isin">Isin</option><option value="Isisiala-Ngwa North">Isisiala-Ngwa North</option><option value="Isisiala-Ngwa South">Isisiala-Ngwa South</option><option value="Isokan">Isokan</option><option value="Isoko North">Isoko North</option><option value="Isoko South">Isoko South</option><option value="Isu">Isu</option><option value="Isuikwato">Isuikwato</option><option value="Itas/Gadau">Itas/Gadau</option><option value="Itesiwaju">Itesiwaju</option><option value="Itu">Itu</option><option value="Ivo">Ivo</option><option value="Iwajowa">Iwajowa</option><option value="Iwo">Iwo</option><option value="Jaba">Jaba</option><option value="Jahun">Jahun</option><option value="Jakusko">Jakusko</option><option value="Jamaare">Jamaare</option><option value="Janligo">Janligo</option><option value="Jega">Jega</option><option value="Jemaa">Jemaa</option><option value="Jere">Jere</option><option value="Jibia">Jibia</option><option value="Jos East">Jos East</option><option value="Jos North">Jos North</option><option value="Jos South">Jos South</option><option value="Kabba/Bunu">Kabba/Bunu</option><option value="Kabo">Kabo</option><option value="Kachia">Kachia</option><option value="Kaduna North">Kaduna North</option><option value="Kaduna South">Kaduna South</option><option value="Kafin Hausa">Kafin Hausa</option><option value="Kafur">Kafur</option><option value="Kaga">Kaga</option><option value="Kagarko">Kagarko</option><option value="Kaiama">Kaiama</option><option value="Kaita">Kaita</option><option value="Kajola">Kajola</option><option value="Kajuru">Kajuru</option><option value="kala/Balge">kala/Balge</option><option value="kalgo">kalgo</option><option value="Kaltungo">Kaltungo</option><option value="Kanam">Kanam</option><option value="Kankara">Kankara</option><option value="Kanke">Kanke</option><option value="Kankia">Kankia</option><option value="Kano Municipal">Kano Municipal</option><option value="Karasuwa">Karasuwa</option><option value="Karawa">Karawa</option><option value="Karaye">Karaye</option><option value="Karin-Lamido">Karin-Lamido</option><option value="Karu">Karu</option><option value="Katagum">Katagum</option><option value="Katcha">Katcha</option><option value="Katsina">Katsina</option><option value="Katsina-Ala">Katsina-Ala</option><option value="Kaugama Kazaure">Kaugama Kazaure</option><option value="Kaura">Kaura</option><option value="Kauru">Kauru</option><option value="Keana">Keana</option><option value="Kebbe">Kebbe</option><option value="Keffi">Keffi</option><option value="Khana">Khana</option><option value="Kibiya">Kibiya</option><option value="Kirfi">Kirfi</option><option value="Kiri Kasamma">Kiri Kasamma</option><option value="Kiru">Kiru</option><option value="Kiyawa">Kiyawa</option><option value="Kogi">Kogi</option><option value="Koko/Besse">Koko/Besse</option><option value="Kokona">Kokona</option><option value="Kolokuma/Opokuma">Kolokuma/Opokuma</option><option value="Konduga">Konduga</option><option value="Konshisha">Konshisha</option><option value="Kontagora">Kontagora</option><option value="Kosofe">Kosofe</option><option value="Kubau">Kubau</option><option value="Kudan">Kudan</option><option value="Kuje">Kuje</option><option value="Kukawa">Kukawa</option><option value="Kumbotso">Kumbotso</option><option value="Kunchi">Kunchi</option><option value="Kura">Kura</option><option value="Kurfi">Kurfi</option><option value="Kurmi">Kurmi</option><option value="Kusada">Kusada</option><option value="Kwali">Kwali</option><option value="Kwami">Kwami</option><option value="Kwande">Kwande</option><option value="Kware">Kware</option><option value="Kwaya Kusar">Kwaya Kusar</option><option value="Lafia">Lafia</option><option value="Lagelu">Lagelu</option><option value="Lagos Island">Lagos Island</option><option value="Lagos Mainland">Lagos Mainland</option><option value="Lamurde">Lamurde</option><option value="Langtang North">Langtang North</option><option value="Lapai">Lapai</option><option value="Lau">Lau</option><option value="Lavun">Lavun</option><option value="Lere">Lere</option><option value="Logo">Logo</option><option value="Lokoja">Lokoja</option><option value="Machina">Machina</option><option value="Madagali">Madagali</option><option value="Madobi">Madobi</option><option value="Mafa">Mafa</option><option value="Magama">Magama</option><option value="Magumeri">Magumeri</option><option value="Mai Adua">Mai Adua</option><option value="Maiduguri">Maiduguri</option><option value="Maigatari">Maigatari</option><option value="Maiha">Maiha</option><option value="Maiyama">Maiyama</option><option value="Makarfi">Makarfi</option><option value="Makoda">Makoda</option><option value="Makurdi">Makurdi</option><option value="Malam Madori">Malam Madori</option><option value="Mallam">Mallam</option><option value="Malumfashi">Malumfashi</option><option value="Mangu">Mangu</option><option value="Mani">Mani</option><option value="Maradun">Maradun</option><option value="Mariga">Mariga</option><option value="Marte">Marte</option><option value="Maru">Maru</option><option value="Mashegu">Mashegu</option><option value="Mashi">Mashi</option><option value="Matazuu">Matazuu</option><option value="Mayo-Belwa">Mayo-Belwa</option><option value="Mbaitoli">Mbaitoli</option><option value="Mbo">Mbo</option><option value="Michika">Michika</option><option value="Miga">Miga</option><option value="Mikang">Mikang</option><option value="Minjibir">Minjibir</option><option value="Misau">Misau</option><option value="Mkpat Enin">Mkpat Enin</option><option value="Moba">Moba</option><option value="Mobbar">Mobbar</option><option value="Mokwa">Mokwa</option><option value="Monguno">Monguno</option><option value="Mopa-Muro">Mopa-Muro</option><option value="Moro">Moro</option><option value="Mubi North">Mubi North</option><option value="Mubi South">Mubi South</option><option value="Musawa">Musawa</option><option value="Mushin">Mushin</option><option value="Muya">Muya</option><option value="Nafada/Bajoga">Nafada/Bajoga</option><option value="Namoda">Namoda</option><option value="Nangere">Nangere</option><option value="Nasarawa">Nasarawa</option><option value="Nasarawa-Eggon">Nasarawa-Eggon</option><option value="Ndokwa East">Ndokwa East</option><option value="Ndokwa West">Ndokwa West</option><option value="Nembe">Nembe</option><option value="Ngala">Ngala</option><option value="Nganzai">Nganzai</option><option value="Ngaski">Ngaski</option><option value="Ngor-Okpala">Ngor-Okpala</option><option value="Nguru Potiskum">Nguru Potiskum</option><option value="Ngwa">Ngwa</option><option value="Ningi">Ningi</option><option value="Njaba">Njaba</option><option value="Njikoka">Njikoka</option><option value="Nkanu">Nkanu</option><option value="Nkanu East">Nkanu East</option><option value="Nkwerre">Nkwerre</option><option value="Nnewi North">Nnewi North</option><option value="Nnewi South">Nnewi South</option><option value="Nsit Atai">Nsit Atai</option><option value="Nsit Ibom">Nsit Ibom</option><option value="Nsit Ubium">Nsit Ubium</option><option value="Nsukka">Nsukka</option><option value="Numan">Numan</option><option value="Nwangele">Nwangele</option><option value="Obafemi-Owode">Obafemi-Owode</option><option value="Obanliku">Obanliku</option><option value="Obe Nwa">Obe Nwa</option><option value="Obi">Obi</option><option value="Obia/Akpor">Obia/Akpor</option><option value="Obokun">Obokun</option><option value="Obot Akara">Obot Akara</option><option value="Obowo">Obowo</option><option value="Obudu">Obudu</option><option value="Odeda">Odeda</option><option value="Odigbo">Odigbo</option><option value="Odo-Otin">Odo-Otin</option><option value="Odogbolu">Odogbolu</option><option value="Odubra">Odubra</option><option value="Odukpani">Odukpani</option><option value="Ofa">Ofa</option><option value="Ofu">Ofu</option><option value="Ogba/Egbema/Ndoni">Ogba/Egbema/Ndoni</option><option value="Ogbadibo">Ogbadibo</option><option value="Ogbaru">Ogbaru</option><option value="Ogbia">Ogbia</option><option value="Ogbomoso North">Ogbomoso North</option><option value="Ogbomoso South">Ogbomoso South</option><option value="Ogo Oluwa">Ogo Oluwa</option><option value="Ogoja">Ogoja</option><option value="Ogori/Mangongo">Ogori/Mangongo</option><option value="Ogu/Bolo">Ogu/Bolo</option><option value="Ogun Waterside">Ogun Waterside</option><option value="Ohafia">Ohafia</option><option value="Ohaji/Egbema">Ohaji/Egbema</option><option value="Ohaozara">Ohaozara</option><option value="Ohimini">Ohimini</option><option value="Ohuakwu">Ohuakwu</option><option value="Ohuta">Ohuta</option><option value="Oji-River">Oji-River</option><option value="Ojo">Ojo</option><option value="Oju">Oju</option><option value="Oke-Ero">Oke-Ero</option><option value="Okehi">Okehi</option><option value="Okeigbo">Okeigbo</option><option value="Okene">Okene</option><option value="Okigwe">Okigwe</option><option value="Okitipupa">Okitipupa</option><option value="Okobo">Okobo</option><option value="Okpe">Okpe</option><option value="Okpokwu">Okpokwu</option><option value="Okrika">Okrika</option><option value="Ola-Oluwa">Ola-Oluwa</option><option value="Olamabolo">Olamabolo</option><option value="Olorunda">Olorunda</option><option value="Olorunsogo">Olorunsogo</option><option value="Oluyole">Oluyole</option><option value="Omala">Omala</option><option value="Omumma">Omumma</option><option value="Ona-Ara">Ona-Ara</option><option value="Ondo East">Ondo East</option><option value="Ondo West">Ondo West</option><option value="Oniocha">Oniocha</option><option value="Onitsha North">Onitsha North</option><option value="Onitsha South">Onitsha South</option><option value="Onna">Onna</option><option value="Opobo/Nkoro">Opobo/Nkoro</option><option value="Oredo">Oredo</option><option value="Orelope">Orelope</option><option value="Orhionwon">Orhionwon</option><option value="Ori Ire">Ori Ire</option><option value="Oriade">Oriade</option><option value="Orlu">Orlu</option><option value="Orolu">Orolu</option><option value="Oron">Oron</option><option value="Orsu">Orsu</option><option value="Oru East">Oru East</option><option value="Oru West">Oru West</option><option value="Oruk Anam">Oruk Anam</option><option value="Orumba North">Orumba North</option><option value="Orumba South">Orumba South</option><option value="Ose">Ose</option><option value="Oshimili">Oshimili</option><option value="Oshodi-Isolo">Oshodi-Isolo</option><option value="Osisioma">Osisioma</option><option value="Osogbo">Osogbo</option><option value="Ota">Ota</option><option value="Oturkpo">Oturkpo</option><option value="ovia South-East">ovia South-East</option><option value="Ovia South-West">Ovia South-West</option><option value="Owerri North">Owerri North</option><option value="Owerri West">Owerri West</option><option value="Owerri-Municipal">Owerri-Municipal</option><option value="Owo">Owo</option><option value="Oye">Oye</option><option value="Oyi">Oyi</option><option value="Oyigbo">Oyigbo</option><option value="Oyo East">Oyo East</option><option value="Oyo West">Oyo West</option><option value="oyun">oyun</option><option value="Pailoro">Pailoro</option><option value="Pankshin">Pankshin</option><option value="Patani">Patani</option><option value="Pategi">Pategi</option><option value="Port-Harcourt">Port-Harcourt</option><option value="Quan Pan">Quan Pan</option><option value="Rabah">Rabah</option><option value="Rafi">Rafi</option><option value="Rano">Rano</option><option value="Remo North">Remo North</option><option value="Rijau">Rijau</option><option value="Rimi">Rimi</option><option value="Rimin Gado">Rimin Gado</option><option value="Ringim">Ringim</option><option value="Riyom">Riyom</option><option value="Rogo">Rogo</option><option value="Roni">Roni</option><option value="Sabon birni">Sabon birni</option><option value="Sabon-Gari">Sabon-Gari</option><option value="Sabuwa">Sabuwa</option><option value="Safana">Safana</option><option value="Sagbama">Sagbama</option><option value="Sakaba">Sakaba</option><option value="Saki East">Saki East</option><option value="Saki West">Saki West</option><option value="Sandamu">Sandamu</option><option value="Sanga">Sanga</option><option value="Sapele">Sapele</option><option value="Sardauna">Sardauna</option><option value="Shagamu">Shagamu</option><option value="Shagari">Shagari</option><option value="Shanga">Shanga</option><option value="Shani">Shani</option><option value="Shanono">Shanono</option><option value="Shelleng">Shelleng</option><option value="Shendam">Shendam</option><option value="Shinkafi">Shinkafi</option><option value="Shira">Shira</option><option value="Shiroro">Shiroro</option><option value="Shomgom">Shomgom</option><option value="Shomolu">Shomolu</option><option value="Silame">Silame</option><option value="Soba">Soba</option><option value="Sokoto North">Sokoto North</option><option value="Sokoto South">Sokoto South</option><option value="Song">Song</option><option value="Southern Jaw">Southern Jaw</option><option value="Sule-Tankarkar">Sule-Tankarkar</option><option value="Suleja">Suleja</option><option value="Sumaila">Sumaila</option><option value="Suru">Suru</option><option value="Surulere">Surulere</option><option value="Tafa">Tafa</option><option value="Tafawa-Balewa">Tafawa-Balewa</option><option value="Tai">Tai</option><option value="Takali">Takali</option><option value="Takum">Takum</option><option value="Talata Mafara">Talata Mafara</option><option value="Tambuwal">Tambuwal</option><option value="Tarauni">Tarauni</option><option value="Tarka">Tarka</option><option value="Tarmua">Tarmua</option><option value="Taura">Taura</option><option value="Tofa">Tofa</option><option value="Toro">Toro</option><option value="Toto">Toto</option><option value="Tqngaza">Tqngaza</option><option value="Tsafe">Tsafe</option><option value="Tsanyawa">Tsanyawa</option><option value="Tudun Wada">Tudun Wada</option><option value="Tureta">Tureta</option><option value="Udenu">Udenu</option><option value="Udi Agwu">Udi Agwu</option><option value="Udu">Udu</option><option value="Udung Uko">Udung Uko</option><option value="Ughelli North">Ughelli North</option><option value="Ughelli South">Ughelli South</option><option value="Ugwunagbo">Ugwunagbo</option><option value="Uhunmwonde">Uhunmwonde</option><option value="Ukanafun">Ukanafun</option><option value="Ukpoba">Ukpoba</option><option value="Ukum">Ukum</option><option value="Ukwa East">Ukwa East</option><option value="Ukwa West">Ukwa West</option><option value="Ukwani">Ukwani</option><option value="Umu- Neochi">Umu- Neochi</option><option value="Umuahia North">Umuahia North</option><option value="Umuahia South">Umuahia South</option><option value="Ungogo">Ungogo</option><option value="Uruan">Uruan</option><option value="Urue-Offong/Oruko">Urue-Offong/Oruko</option><option value="Ushongo">Ushongo</option><option value="Ussa">Ussa</option><option value="Uvwie">Uvwie</option><option value="Uyo">Uyo</option><option value="Uzo-Uwani">Uzo-Uwani</option><option value="Vandeikya">Vandeikya</option><option value="Wamako">Wamako</option><option value="Wamba">Wamba</option><option value="Warawa">Warawa</option><option value="Warji">Warji</option><option value="Warri Central">Warri Central</option><option value="Warri North">Warri North</option><option value="Warri South">Warri South</option><option value="Wasagu/Danko">Wasagu/Danko</option><option value="Wase">Wase</option><option value="Wudil">Wudil</option><option value="Wukari">Wukari</option><option value="Wurno">Wurno</option><option value="Wushishi">Wushishi</option><option value="Yabo">Yabo</option><option value="Yagba East">Yagba East</option><option value="Yagba West">Yagba West</option><option value="Yala">Yala</option><option value="Yamaltu/Delta">Yamaltu/Delta</option><option value="Yankwashi">Yankwashi</option><option value="Yarkur">Yarkur</option><option value="Yauri">Yauri</option><option value="Yenegoa">Yenegoa</option><option value="Yewa">Yewa</option><option value="Yewa North">Yewa North</option><option value="Yola North">Yola North</option><option value="Yola South">Yola South</option><option value="Yorro">Yorro</option><option value="Youngo">Youngo</option><option value="Yunusari">Yunusari</option><option value="Yusufari">Yusufari</option><option value="Zaki">Zaki</option><option value="Zango">Zango</option><option value="Zango-Kataf">Zango-Kataf</option><option value="Zaria">Zaria</option><option value="Zing">Zing</option><option value="Zurmi">Zurmi</option><option value="Zuru">Zuru</option>
            </select>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="hometown">Home Town:</label>
            <input class="form-control register" type="text" value="<?php echo $rows['hometown']; ?>" name="hometown"  placeholder="Home Town" required>
        </div> 
        <div class="form-group">
            <label class="col-md-2 control-label" for="address">Permanent Home Address:</label>
            <textarea class="form-control register" name="address"  rows="4" required><?php echo $rows['address']; ?></textarea>
        </div> 
        <div class="form-group">
            <label class="col-md-2 control-label" for="phone">Phone Number:</label>
            <input class="form-control register" type="text" value="<?php echo $rows['phone']; ?>" name="phone"  placeholder="Phone Number" required>
        </div> 
        <div class="form-group">
            <label class="col-md-2 control-label" for="email">Email Address:</label>
            <input class="form-control register" type="text" value="<?php echo $rows['email']; ?>" name="email"  placeholder="Email Address" required>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="courses">Courses:</label>
            <select name="courses" class="form-control register" required >
                <option value="<?php echo $rows['courses']; ?>"><?php echo $rows['courses']; ?></option>
                <option value="Certificate in Fashion Designing">Certificate in Fashion Designing</option>
                <option value="Certificate in Catering and Confectioneries">Certificate in Catering and Confectioneries</option>
                <option value="Certificate in Shoe and Leather Works Technology">Certificate in Shoe and Leather Works Technology</option>
                <option value="Certificate in Production of Household Cleaning Agents and Disinfectants">Certificate in Production of Household Cleaning Agents and Disinfectants</option>
                <option value="Certificate in GSM Repairing Technology">Certificate in GSM Repairing Technology</option>
                <option value="Certificate in Music">Certificate in Music</option>
                <option value="Certificate in Certificate in Textile Design Technology (Hand Loom Cotton, Weaving Batik, Tie and Dye)">Certificate in Textile Design Technology (Hand Loom Cotton, Weaving Batik, Tie and Dye)</option>
                <option value="Certificate in Hat Making Technology">Certificate in Hat Making Technology</option>
                <option value="Certificate in Beads and Wire Works">Certificate in Beads and Wire Works</option>
                <option value="Certificate in Barbing Technology">Certificate in Barbing Technology</option>
                <option value="Certificate in Hat Women Hair Dressing &amp; Make-up">Certificate in Women Hair Dressing &amp; Make-up</option>
                <option value="Certificate in Poultry Farming Technology">Certificate in Poultry Farming Technology</option>
                <option value="Certificate in Fresh Water Fish Farming Studies">Certificate in Fresh Water Fish Farming Studies</option>
                <option value="Certificate in Foundry Technology">Certificate in Foundry Technology</option>
                <option value="Certificate in Metal Fabrication Technology">Certificate in Metal Fabrication Technology</option>
                <option value="Certificate in General Welding Practice Technology">Certificate in General Welding Practice Technology</option>
                <option value="Certificate in Pipe Cutting &amp; Plumbing Technology">Certificate in Pipe Cutting &amp; Plumbing Technology</option>
                <option value="Certificate in Electrical Installation Technology">Certificate in Electrical Installation Technology</option>
                <option value="Certificate in Certificate in Radio, Television and Electronics Technology">Certificate in Radio, Television and Electronics Technology</option>
                <option value="Certificate in Ceramic/Pottery Technology">Certificate in Ceramic/Pottery Technology</option>
                <option value="Certificate in Painting and Decoration Technology">Certificate in Painting and Decoration Technology</option>
                <option value="Certificate in Bricklaying and Masonry Technology">Certificate in Bricklaying and Masonry Technology</option>
                <option value="Certificate in Carpentry and Furniture Making Technology">Certificate in Carpentry and Furniture Making Technology</option>
                <option value="Certificate in Auto Mechanics &amp; Mechatronics">Certificate in Auto Mechanics &amp; Mechatronics</option>
                <option value="Certificate in Furniture Design and Construction">Certificate in Furniture Design and Construction</option>
                <option value="Certificate in Computer Assembly &amp; Repairs">Certificate in Computer Assembly &amp; Repairs</option>
                <option value="Certificate in Draughtsmaship (Using AutoCAD)">Certificate in Draughtsmaship (Using AutoCAD)</option>
                <option value="Certificate in Plaster of Paris (P.O.P) Technology">Certificate in Plaster of Paris (P.O.P) Technology</option>
                <option value="Certificate in Landscaping and Horticulture Studies">Certificate in Landscaping and Horticulture Studies</option>
                <option value="Certificate in Agency Management">Certificate in Agency Management</option>
                <option value="Certificate in Cartography">Certificate in Cartography</option>
                <option value="Certificate in Certificate in Refrigeration &amp; Air Conditioning Technology">Certificate in Refrigeration &amp; Air Conditioning Technology</option>
            </select>
        </div>
         <div class="form-group">
            <label class="col-md-2 control-label" for="previous_skill">Previous Skill(s) Acquired:</label>
            <input class="form-control register" type="text" value="<?php echo $rows['previous_skill']; ?>" name="previous_skill"  placeholder="Previous Skill(s) Acquired" required>
        </div>
        <div class="form-group">
            <label class="col-md-2 control-label" for="p_where">Where:</label>
            <input class="form-control register" type="text" value="<?php echo $rows['p_where']; ?>" name="p_where"  placeholder="Where" required>
        </div> 
        <div class="form-group">
            <label class="col-md-2 control-label" for="p_when">When:</label>
            <input class="form-control register" type="text" value="<?php echo $rows['p_when']; ?>" name="p_when"  placeholder="When" required>
        </div> 
        <div class="form-group">
            <label class="col-md-2 control-label" for="duration">Duration:</label>
            <input class="form-control register" type="text" value="<?php echo $rows['duration']; ?>" name="duration"  placeholder="Duration" required>
        </div> 
        <div class="form-group">
            <label class="col-md-2 control-label" for="pro_acquired">Proficiency Acquired:</label>
            <input class="form-control register" type="text" value="<?php echo $rows['pro_acquired']; ?>" name="pro_acquired"  placeholder="Proficiency Acquired" required>
        </div>
        <div class="form-group">
            <div class="col-md-offset-2 col-md-10">
                	<input type="submit" class="btn btn-success btn-lg"  name="submit" value="UPDATE">
            </div>
        </div>
        </form>
</div>                                    
                                    
                                    
                          <?php	
							}														
							?>
                                </table>
                            </div>
                            <!-- /.table-responsive -->
                            
                        </div>
                        <!-- /.panel-body -->
                    </div>
                    <!-- /.panel -->
                </div>
                <!-- /.col-lg-12 -->
            </div>
            <!-- /.row -->
            

        </div>
        <!-- /#page-wrapper -->
        

    </div>
    <!-- /#wrapper -->
    
