Jump to content

sraorajath

Members
  • Content Count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About sraorajath

  • Rank
    Newbie
  1. after submiting the form query failed is displayed i.e from "echo 'query failed';" code
  2. This code is not inserting data into database please help me <?PHPif(isset($_POST['submit'])){ $error = array(); if(empty($_POST['fullname'])) { $error[] = 'please enter ur name'; } else { $name = $_POST['fullname']; } if(empty($_POST['usn'])) { $error[]= 'Please enter your USN'; } else { $usn = $_POST['usn']; } if(empty($_POST['dob'])) { $error[]= 'Please enter your date of birth'; } else { $date = $_POST['dob']; } if(empty($_POST['gender'])) { $error[]= 'Please select gender'; } else { $gender = $_POST['gender']; } if(empty($_POST['mail'])) { $error[]= 'Please enter your e
×
×
  • Create New...