Location: PHPKode > scripts > Rapid Form Builder > rapid-form-builder/tinyExample.php
<?php
	session_start();  												// this is controlled by a session ID for knowing which form to look at (whose form)
	$sid = 4 ;													// assiging a form to see
	$_SESSION['sid'] = $sid ;											// in this case, we will look at form # 4 from the database
	include "presentationLayer.php" ; 										// includes the classes
	$displayField = new presentationLayer() ; 									// creates a new object for use later
	echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"css/style.css\" />";   					// link to the style sheet
	echo "<script type=\"text/javascript\" src=\"javascript/ajaxforms.js\" language=\"javascript\"></script>" ; 	// link to the ajax form
	// the above is just the header information.  the form is this line below:
	echo $displayField->displayField(alp1_username, 0, 20, "", 1, $sid); 						// draws the actual field
?>
Return current item: Rapid Form Builder