Location: PHPKode > projects > Kudos > nirap/update_cat2.php
include ("includes/kudos.php");
include ("includes/kudos_cookie.php");

$CatID= $_GET['CatID'];

$query = mysql_query("SELECT * FROM Category WHERE CatID = '$CatID'");
$results = mysql_fetch_array($query);

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Design by Free CSS Templates
Released for free under a Creative Commons Attribution 2.5 License

Title      : The Island
Version    : 1.0
Released   : 20070612
Description: A two-column, fixed-width, blue-themed template that can be easily converted into a blog theme.
<html xmlns="http://www.w3.org/1999/xhtml">
  <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  <title>KUDOS!  :::  Employee Recognition System</title>
  <link href="style/default.css" rel="stylesheet" type="text/css" />
<div id="content">

  <form action="update_cat3.php" method="post" id="cCategory">
    <div align="left">
        <p><font color="#FFFFFF"><table>
			<tr><td><LABEL>Category</LABEL></td><td><input type="text" size="25"  name="categoryName" value="<?php echo $results['CatName'];?>" /></td></tr>
			<tr><td><LABEL>Description</LABEL></td><td><input type="text" size="25" name="categoryDescrip" value="<?php echo $results['CatDescript'];?>" /></td></tr>
        <input type="checkbox" name="global" value="Y" />
        Make category global?<br />
		<input type="hidden" name="CatID" value="<?php echo $CatID; ?>" />
        <input type="submit" value="Update Category" />

Return current item: Kudos