if ($_POST['submit']) {
//Connect to database
$link = mysql_connect('localhost', 'partykin_ae', 'a83E29b12K'); //Connects to the database at "localhost"
if(!$link) {
//halt execution if cannot connect
die("Cannot connect to the database!");
}
mysql_select_db('partykin_aesystem', $link); //Assuming you have a database named "test" set up
//convert all the posts to variables :
$name = (addslashes(strip_tags($_POST['name'])));
$email = (addslashes(strip_tags($_POST['email'])));
$type = "Partykings";
$result=MYSQL_QUERY("INSERT INTO subscriptions (id, type, name, email)".
"VALUES (NULL, '$type', '$name', '$email')") or die(mysql_error());
header("Location: $self?alldone=1");
exit(0);
}
?>
Partykings.com.au - Party Products, Party Entertainment
"The entertainer was wonderful I had someone different the year before as a Clown for Saxons 5th Birthday and I thought I might get the same person but the Pirate we had was just as good and the kids absolutely loved him. He did a WONDERFUL job and I wanted to thank him for putting in that extra time at the end, he was BRILLIANT!!!"
Lisa
CABARITA BEACH
Join me on deck you land lubbers as we get ready to sail the seven seas of fun!
There's loads of bounty to be won including prizes and lollies for everyone.
1 Hr of Pirate Party Games and Activities may include:
- Cannon Ball Fun
- A Pirate Jig
- Pegs of Death
- Heads or Tails
- Walk the Plank
- Sword Training
- Theres a Pirate Missing
Then it's time to get all our Buccaneers together for the "Blow Me Down" of the Birthday candles Rrrrr!!!