PHP Classes

File: update.php

Recommend this page to a friend!
  Classes of Frank Cauley  >  PHP CRUD generator  >  update.php  >  Download  
File: update.php
Role: Sample output
Content type: text/plain
Description: Auxiliary script
Class: PHP CRUD generator
Generate classes to manipulate MySQL table records
Author: By
Last change:
Date: 8 years ago
Size: 1,348 bytes


Class file image Download
 $crud = new crud;$crud->setTable(""); 
?> <!--end php for now --> 
if (isset($_POST['submit'])) 
$ =  new ; 
 } else { 
?> <!--end of php for now-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" ""> 
<html xmlns=""> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 
<title>Update  record</title> 
<h2> Gray and White Computing MySql Table Control Generation System</h2>
<img src="../companylogo.jpg" alt="Gray and White Logo" width="161" height="80" longdesc="  " > 
 <form name="inputform" method="post" action="update.php" >">
<table width="773"  border="1" caption = "<h2>  Update   Record</h2>"> 
<?php // back into php
$fields = $crud->field_name_array;
$type = $crud->field_type_array; 
$field_count= count($fields); 
 	for($i=0;$i < $field_count;$i++) 
	{	$line = $crud->compose_Html_line($fields[$i],$type[$i],"true");
	echo $line;
<center><input type="submit" name="submit" value="submit Update"><input type ="reset" name="reset" value="reset"> </center>
<? } ?>
For more information send a message to info at phpclasses dot org.