Exhibition Confirmation

[insert_php]
session_start();
ob_start();

if (isset($_POST[‘firstName’]))
$FirstName = $_POST[‘firstName’];

if (isset($_POST[‘lastName’]))
$LastName = $_POST[‘lastName’];

if (isset($_POST[‘Address1’]))
$Address1 = $_POST[‘Address1’];

if (isset($_POST[‘Address2’]))
$Address2 = $_POST[‘Address2’];

if (isset($_POST[‘City’]))
$City = $_POST[‘City’];

if (isset($_POST[‘State’]))
$State = $_POST[‘State’];

if (isset($_POST[‘ZipCode’]))
$ZipCode = $_POST[‘ZipCode’];

if (isset($_POST[‘EmailID’]))
$EmailID = $_POST[‘EmailID’];

if (isset($_POST[‘PhoneNo’]))
$PhoneNo = $_POST[‘PhoneNo’];

$RegCost= 50;

$DB_HOST = ‘45.40.164.17’;
$DB_USER = ‘artnbeat’;
$DB_PASS = ‘Remember1!’;
$DB_NAME = ‘artnbeat’;

global $wpdb;
try {
$newdb = new wpdb($DB_USER, $DB_PASS, $DB_NAME, $DB_HOST);
$newdb->print_error();
$newdb->insert (‘ArtExhibition’, array(
‘ExhibitionName’ => ‘Art Exhibition – Dec 2016’,
‘FirstName’ => $FirstName,
‘LastName’ => $LastName,
‘Address1’ => $Address1,
‘Address2’ => $Address2,
‘City’ => $City,
‘State’ => $State,
‘ZipCode’ => $ZipCode,
‘EmailID’ => $EmailID,
‘PhoneNo’ => $PhoneNo,
‘CompFees’ => $RegCost
)
);
$newdb->print_error();
} catch (Exception $e) { // Database Error
echo $e->getMessage();
}
[/insert_php]

Art Exhibition $50.00
Registration Fees is non-refundable. Seats are limited.
Terms & Conditions:Selected Participant will be given one table, two chairs and back wall (4’X6′) for painting display.
Participant must bring dry-wall (Max Size 4’X6′) to display their painting.Participant may sell their painting independently.Art N Beat will not be responsible for any dispute regarding display, copyright, any financial transaction at the venue.Registration Fees will be paid to Art N Beat, LLC.paintingcanvas
anb_artexhibition
Personal Info
First Name: [insert_php] echo $FirstName; [/insert_php]
Last Name: [insert_php] echo $LastName; [/insert_php]
Address: [insert_php] echo $Address1; [/insert_php]
[insert_php] echo $Address2; [/insert_php]
City: [insert_php] echo $City; [/insert_php]
State: [insert_php] echo $State; [/insert_php]
Zip Code: [insert_php] echo $ZipCode; [/insert_php]
Email ID: [insert_php] echo $EmailID; [/insert_php]
Phone No: [insert_php] echo $PhoneNo; [/insert_php]
Terms & Condition: Agreed
Registration Fees: $[insert_php] echo $RegCost; [/insert_php].00


pay through Paypal