{source}
<!-- You can place html anywhere within the source tags -->


<script language="javascript" type="text/javascript">
// You can place JavaScript like this

</script>
<pre>
<form action="index.php?option=com_content&view=article&id=45:insert-to-database&catid=37:vacancy-maneger&Itemid=29" method="POST">
Position         <input type="text" name="position" maxlength="25"><br/>
Level            <select name="level">
                   <option>PS 1</option>
                   <option>PS 2</option>
                   <option>PS 3</option>
                  <option>PS 4</option>
                 </select><br/>
Experiance       <input type="text" name="Exp" maxlength="25"><br/>
Education Level  <select name="edulevel">
                   <option>10+1</option>
                   <option>10+2</option>
                   <option>10+3</option>
                   <option>Diploma</option>
                   <option>Bachelor of Science </option>
                   <option>Bachelor of Art</option>
                   <option>Masters</option>
                   <option>PHD</option>
                   <option>Professor</option>
                 </select><br/>
<?php
$db=mysql_pconnect('mysql.etisp.et','ordadb','test@123');

if(!$db)
{
echo 'could not connect to server';
exit;
}
if(!mysql_select_db('ordadb')){
echo 'database not connected';
}
echo 'Education Type'."<select name='edutype'>";
$result=mysql_query("select * from jos_educationtype ");
while($row = mysql_fetch_array($result)) {

echo "<option>". $row['Type'] . "<br /> </option>";

}
echo "                </select> <br/>";
mysql_close($db);
?>
Payment               <input type="text" name="payment" maxlength="25"><br/>
No of Requireicsd     <input type="text" name="noofrequired" maxlength="25"><br/>
Description <br/>     <textarea cols="50" rows="10" name="des"></textarea><br/>
DeadLine Date         <input type="text" name="dld" maxlength="25">(use yyyy-mm-dd format)<br/>
                      <input type="submit" value="Job Post">
</form>
</pre>


{/source}

Copyright © 2012 ORDA Ethiopia.
All Rights Reserved.