Making Changes in a Project Management Application - HTML Form
(Page 3 of 4 )
In the HTML form below, we are going to briefly look at how the status of the project is determined:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><!-- InstanceBegin template="/Templates/PM_Main.dwt.php" codeOutsideHTMLIsLocked="false" -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<!-- InstanceBeginEditable name="doctitle" -->
<title>Untitled Document</title>
<!-- InstanceEndEditable -->
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
<link href="Templates/main.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table width="100%" border="0">
<tr>
<td width="33%"> </td>
<td width="28%"> </td>
<td width="39%">Logged in: <!-- InstanceBeginEditable name="login" --><? echo $_SESSION['name'];?> | <a href="logout.php">Logout</a><!-- InstanceEndEditable --></td>
</tr>
<tr>
<td colspan="3" bgcolor="#6699CC" class="headertxt">Project Management Software </td>
</tr>
<tr>
<td colspan="3"><!-- InstanceBeginEditable name="main" -->
<form id="form1" name="form1" method="post" action="edit_project.php" enctype="multipart/form-data">
<table width="100%" border="0">
<tr>
<td width="12%">proj name </td>
<td width="88%"> </td>
</tr>
<tr>
<td>Title</td>
<td><label>
<input name="title" type="text" id="title" value="<?php echo $projectdetails['title']?>"/>
</label></td>
</tr>
<tr>
<td>Description</td>
<td><label>
<textarea name="descr" id="descr"><?php echo $projectdetails['project_description']?></textarea>
</label></td>
</tr>
<tr>
<td>Status</td>
<td><label>
Showing the status of the project is easy, since its status can only be one of three things: overdue, completed, or pending.
Next: Determining the Value of the Variable >>
More PHP Articles
More By David Web