i need this code for my projwct work
please send it
Posts: 8,059
Threads: 1
Joined: Mar 2014
php source code for timetable generation system
This project is aimed at developing a Time Table Generator for Colleges. olleges are supposed to make time tables for each semester which used to be a very tedious and pain staking job. Each teacher and Student is eligible for viewing his own timetable once they are finalized for a given semester but they can't edit them.22. Development of a ser friendly ,feature-rich, practical Appraisal Tracker This project is aimed at enveloping an Appraisal Tracker that is of importance to either an organisation or a college. This praisal Tracker system is used to track the performance of an individual. An individual's performance is rated by himself and his superior in the organization. The tasks for the next 6 months are set by the superior. The performance rating is done based on several attributes (like the timeliness, quality of work, communication skills etc)
Sample Code:
timetable.html:
<form method="POST" action="timetable.php">
<label>Please select a channel:</label>
<select name="channel">
<option name="Ten" >Ten</option>
<option name="Nine">Nine</option>
<option name="Prime">Prime</option>
<option name="SBS">SBS</option>
<option name="ABC">ABC</option>
</select>
<br />
<label>Please select a time:</label>
<select name="time">
<option name="7.30">7.30</option>
<option name="8.00">8.00</option>
<option name="8.30">8.30</option>
<option name="9.00">9.00</option>
<option name="9.30">9.30</option>
</select>
<br />
<label>Please enter program name:</label>
<input name="program" type="text" size="20" />
<br />
<input type="submit" value="Submit!">
</form>
timetable.php
<?php
/* declare a 2d array accessible by $arr["channel"]["time"].
all programs are initialised to nothing. */
$arr = array(
"Time" => array("7.30", "8.00", "8.30", "9.00", "9.30"),
"Ten" => array("7.30" => "", "8.00" => "", "8.30" => "", "9.00" => "", "9.30" => ""),
"Nine" => array("7.30" => "", "8.00" => "", "8.30" => "", "9.00" => "", "9.30" => ""),
"Prime" => array("7.30" => "", "8.00" => "", "8.30" => "", "9.00" => "", "9.30" => ""),
"SBS" => array("7.30" => "", "8.00" => "", "8.30" => "", "9.00" => "", "9.30" => ""),
"ABC" => array("7.30" => "", "8.00" => "", "8.30" => "", "9.00" => "", "9.30" => ""),
);
/* the programs would be loaded into the array from here. */
/* this step would be updating the database.
for now we will just set the element chosen in the html page. */
$arr[$_POST["channel"]][$_PO ST["time"]] = $_POST["program"];
echo "<table border=\"1\">\n";
/* loop through the channels */
foreach($arr as $channel => $value)
{
echo "<tr>";
echo "<td>" . $channel ."</td>";
/* and the times */
foreach($value as $time)
{
echo "<td>" . $time . "</td>";
}
echo "</tr>\n";
}
?>