SummerTheDrummer Under Construction

Schedule a Lesson

If interested in taking drum lessons please fill the form below at your best knowledge, and I will contact you back to arrange the schedule.

  • Invalid Name: Please provide your full name!
  • Invalid E-mail: Please provide a valid email!
  • Invalid message: Type a message with at least 10 letters
  • Invalid phone number: Please enter a valid US phone.
  • Invalid age: Please enter a valid age.
connection(); //assign post to local variables $name= mysql_real_escape_string(stripslashes($_POST['name'])); $age= mysql_real_escape_string(format_number($_POST['age'])); $start_date= mysql_real_escape_string(stripslashes($_POST['from'])); $phone = mysql_real_escape_string(format_phone($_POST['phone'])); $email = mysql_real_escape_string(stripslashes($_POST['email'])); $message = mysql_real_escape_string(stripslashes($_POST['notes'])); //testing //$name= $_POST['name']; //$age= $_POST['age']; //$start_date= $_POST['from']; //$phone = format_phone($_POST['phone']); //$email =$_POST['email']; //$message =$_POST['notes']; if (isset($name) && isset($email) && isset($message)){ $db->iquery("insert into lesson (id, name, age, start_date, phone, email, date, message) Values('', '$name', '$age', '$start_date', '$phone', '$email', NOW(), '$message')"); header('location: th'); } else {header('location: err'); } ?>
" type="text" class="input" name="name" id="name" size="30" maxlength="30" />Your full name is required
" type="text" id="age" class="input" name="age" onkeypress="return isNumberKey(event)" size="2" maxlength="2" />
" onkeydown="javascript:backspacerDOWN(this,event);" onkeyup="javascript:backspacerUP(this,event);" type="text" class="input" name="phone" maxlength="13" />
" type="text" class="input" name="email" id="email" size="30" maxlength="30" />Please provide a valid email address