Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
dg:greenbox:confirm [14 Sep 2011 22:44] – created jamesdg:greenbox:confirm [14 Sep 2011 22:56] (current) james
Line 1: Line 1:
 <php> <php>
-error_reporting(E_ALL);  
- 
-ini_set('display_errors', true); 
  
 include("/var/www/html/greenbox/sqlconnect.php");  include("/var/www/html/greenbox/sqlconnect.php"); 
Line 12: Line 9:
        or die ("Couldn't execute query.");        or die ("Couldn't execute query.");
                
-$Year=$_POST['Year']; + 
-echo $Year;+  echo "The following item has been added to the database:<br> 
 +        <ul> 
 +         <li>Type: $_POST[Type] 
 + <li>Frequency: $_POST[Freq] 
 + <li>Class: $_POST[Class] 
 + <li><b> $_POST[Description] </b> $_POST[Comments] 
 + <li>SAN penalty: $_POST[SAN] 
 + <li>Contributed by: $_POST[Contributor]  $_POST[Email] 
 + <li>More info from: $_POST[MoreInfoURL] 
 + <li>Cell $_POST[Cell] available from $_POST[Year] 
 + \n"
 + 
 +  echo "</ul>"; 
 </php> </php>
  
  
  
-</html>+ 
 +[[add|Add another item]] 
Print/export
QR Code
QR Code dg:greenbox:confirm (generated for current page)