Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End can't get form on webpage to post to table/database on remote server Reply To: can't get form on webpage to post to table/database on remote server

#209630
Great Scott
Participant

the init.php file:

<?php
$showForm = true;

$petTypeEntries = array();
$petTypeEntries['Cat']='Cat';
$petTypeEntries['Dog']='Dog';   
$petTypeEntries['Lab']='Lab';
$petTypeEntries['Chow']='Chow';
$petTypeEntries['Terrier']='Terrier';
$petTypeEntries['Bulldog']='Bulldog';
$petTypeEntries['Cocker Spaniel']='Cocker Spaniel';
$petTypeEntries['Great Dane']='Great Dane';
$petTypeEntries['Alaskan Huskey']='Alaskan Huskey';

$errors = array();
$dbEntries = array( 'FirstName'=&gt;'',
                    'LastName'=&gt;'',
                    'Address'=&gt;'',
                    'City'=&gt;'',
                    'State'=&gt;'',
                    'Zip'=&gt;'',
                    'PhoneNumber'=&gt;'',
                    'Email'=&gt;'',
                    'PetType'=&gt;'',
                    'Breed'=&gt;'',
                    'PetName'=&gt;'',
                    'NeuteredOrSpayed'=&gt;'',
                    'PetAge'=&gt;'');   
$browserEntries = array();

?>