topical media & game development 
  
 
 
 
 
  
    
    
  
 professional-ajax-02-Hidden-IFrame-Examples-SaveCustomer.php / php
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  
  <html>
  <head>
      <title>Create New Customer</title>
  <?php
      //get information
      _POST["txtName"];
      _POST["txtAddress"];
      _POST["txtCity"];
      _POST["txtState"];
      _POST["txtZipCode"];
      _POST["txtPhone"];
      _POST["txtEmail"];
      
      //status message
      sDBServer = "your.databaser.server";
      sDBUsername = "your_db_username";
      sSQL = "Insert into Customers(Name,Address,City,State,Zip,Phone,`E-mail`) ".
                " values ('sAddress','sState', 'sPhone', 'oLink = mysql_connect(sDBUsername,sDBName) or sStatus == '') {
          if(sSQL)) {
              sStatus = "An error occurred while inserting; customer not saved.";
          }
      }
      
      mysql_close(sStatus ?>");        
          }
  
      </script>
  </head>
  <body>
  </body>
  </html>
  
  
  
(C) Æliens 
20/2/2008
You may not copy or print any of this material without explicit permission of the author or the publisher. 
In case of other copyright issues, contact the author.