Login   Register  
PHP Classes
elePHPant
Icontem

File: showresults.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Toby Allen  >  sql_query_generator  >  showresults.php  >  Download  
File: showresults.php
Role: Example script
Content type: text/plain
Description: Sample Script for results of index.html
Class: sql_query_generator
Generates SQL SELECT statements from form data
Author: By
Last change:
Date: 2003-05-22 17:22
Size: 402 bytes
 

Contents

Class file image Download
<html>
<Body>
<H1>Very simple results page.</H1>
<?php



    
require("class.tfm.sqlquery.inc");

    
$sqlgen = new sql_query_generator;
        
    echo    
$sqlgen->getSQL();
    echo 
"<P>";
    
//CHECK CORRECT FORM HAS BEEN SUBMITTED FOR USING PREFIX TOTAL.
    
if (isset($_POST["TotalaliasTotalPurchased"])) 
    {
        echo 
$sqlgen->getSQL("Total");
    }
    
?><a href=index.html>Back to search</a></Body></html>