<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>.:.formAt.:.</title>
<style type="text/css">
<!--
.style1 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
}
.style3 {
font-family: Arial, Helvetica, sans-serif;
font-size: 10px;
color: #333333;
font-style: italic;
}
.style4 {
font-family: Arial, Helvetica, sans-serif;
font-size: 16px;
color: #333333;
}
.style5 {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #FFFFFF; }
.style6 {
font-size: 14px;
font-weight: bold;
}
.style7 {font-size: 18px}
.style9 {font-size: 14px}
.style10 {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #333333;
}
.style13 {color: #FF0000}
-->
</style>
</head>
<body>
<table width="650" border="1" align="center" cellpadding="2" cellspacing="2" bordercolor="#CCCC99" style="border-collapse:collapse">
<tr>
<td><p align="center"><img src="logo.gif" width="335" height="67" /></p>
<table width="100%" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="64%" valign="top"><p class="style4"><a href="documentation.html" style="color:#BEBF8E">Documentation</a> | <a href="basicUsage.php" style="color:#BEBF8E">Basic Example</a> | <a href="advanceUsage.php" style="color:#BEBF8E">Advanced Example</a></p>
<p class="style4"><span class="style7">THANK YOU FOR CHOOSING <strong>formAt</strong></span><br />
<span class="style9">PHP & MYSQL Form Generator </span></p>
<p class="style4 style9 style13">This instructions are just for running the examples</p>
<p class="style10">To run the examples do the following:<br />
<br />
1.- Create a database named <strong>form_at_demo</strong><br />
2.- Edit the <strong>config.php</strong> file <br />
3.- Run the <strong>below query</strong> into the database and you are done <br />
4.- Then you may access the <a href="basicUsage.php">Basic Usage</a> and <a href="advanceUsage.php">Advanced Usage</a> files </p>
<p align="left" class="style3">CREATE TABLE `car_rental` (<br />
`id` int(11) NOT NULL auto_increment,<br />
`customer_name` varchar(120) NOT NULL default '',<br />
`rent_mode` enum('hourly','daily') NOT NULL default 'hourly',<br />
`credit_card` set('visa','master card') NOT NULL default '',<br />
`service_description` text NOT NULL,<br />
`price` decimal(5,2) NOT NULL default '100.00',<br />
`pickup_time` datetime NOT NULL,<br />
`dropoff_time` datetime NOT NULL,<br />
`car_id` int(11) NOT NULL,<br />
PRIMARY KEY (`id`),<br />
KEY `car_id` (`car_id`)<br />
) ENGINE=MyISAM DEFAULT CHARSET=latin1;<br />
</p>
<p align="left" class="style3">CREATE TABLE `cars` (<br />
`car_id` int(11) NOT NULL auto_increment,<br />
`car` varchar(60) NOT NULL default '''''',<br />
PRIMARY KEY (`car_id`)<br />
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;</p>
<p align="left" class="style3">insert into `cars` values('1','Land Rover'),<br />
('2','Mercedes Benz CLK 280'),<br />
('3','Mustang'),<br />
('4','X Trail');</p>
<p align="left" class="style3"> </p>
<p class="style1"><br />
</p></td>
<td width="36%" valign="top" bgcolor="#BEBF8E"><p class="style5"><span class="style6">formAt </span>is a php class designed to help web developers to create all kind of HTML form objects based on a mysql database or standalone fields.</p>
<p><span class="style5">• <strong>T</strong>ext or textarea depending on columns length<br />
• <strong>S</strong>et of checkboxes, radios, select or multiselect based on a table data, enum or set columns with the posibility of filtering information by custom queries<br />
• <strong>A</strong>ply css styles<br />
• <strong>A</strong>dd Javascript <br />
• <strong>C</strong>reate all kind of HTML form objects<br />
• <strong>O</strong>btain column default values or server variables automatically </span></p>
<p><span class="style5"><span class="style6">formAt </span>is fully tested on PHP 5.0.1 and MYSQL 5.0.45 <br />
<br />
</span> </p></td>
</tr>
</table>
</td>
</tr>
</table>
<p class="style1"> </p>
<p class="style1"> </p>
</body>
</html>