Home arrow PHP arrow Page 3 - Making Changes in a Project Management Application

HTML Form - PHP

This is the third part of a seven part article series detailing the creation of a project management application. It will discuss how to make changes to the project, such as the project's status, via the edit_project.php script.

TABLE OF CONTENTS:
  1. Making Changes in a Project Management Application
  2. PHP Explained
  3. HTML Form
  4. Determining the Value of the Variable
By: David Web
Rating: starstarstarstarstar / 3
June 16, 2008

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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%">&nbsp;</td>

<td width="28%">&nbsp;</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%">&nbsp;</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.



 
 
>>> More PHP Articles          >>> More By David Web
 

blog comments powered by Disqus
   

PHP ARTICLES

- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...
- PHP: Building Concrete Validators
- Sanitizing Input with PHP
- Executing Shell Commands with PHP
- Handling File Data with PHP
- File Security and Resources with PHP
- ArrayObject PHP Class Examples
- ArrayObject PHP Class: An Introduction
- Getting File System Data with PHP
- PHP Tools for Working with the File and Oper...
- Working with the File and Operating System w...
- PHP Proxy Patterns: Completing a Blog


© 2003-2012 by Developer Shed. All rights reserved. DS Cluster 3 - Follow our Sitemap

Dev Shed Tutorial Topics: