Jump to content

vtgowtham1993

New Members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by vtgowtham1993

  1. That's above condition are ok and also i turn on the error checking set as E_ALL.. but i want to show both the title bar and the register form...
  2. i have already turn on the error check SET as E_ALL but it does not show any error .... it just show only the title bar
  3. hi there.. i have try to run this code but it shows only the header file but it wont show the register form... what is the way to show both header and the form ie register form..... <?php require 'connect.php'; if(isset($_POST['first_name'])&&isset($_POST['email_id'])&&isset($_POST['user_name'])&&isset($_POST['password'])){ $first_name = $_POST['first_name']; $sur_name = $_POST['sur_name']; $email_id = $_POST['email_id']; $user_name = $_POST['user_name']; $password = $_POST['password']; $password_mdd = md5($password); if(!empty($first_name)&&!empty($sur_name)&&!empty($email_id)&&!empty($user_name)&&!empty($password)){ $query_first_name = mysql_query("INSERT INTO user(first_name,sur_name,email_id,user_name,password,password_mdd) value('$first_name','$sur_name','$email_id','$user_name','$password','$password_mdd')"); }else{ echo 'Plese fill all field'; } } ?> <html> <head> <link rel="stylesheet" href="style.css" type="text/css" charset="utf-8" /> <body> <div id="header"> <img src="images/logo.png" width="124" height="98" /> </div> <div id="nav"> <ul> <li class="first"><a href="home.php"><em>H</em>OME</a></li> <li><a href="resume.php"><em>R</em>ESUME</a></li> <li><a href="photo.php"><em>P</em>HOTOS</a></li> <li><a href="contact.php"><em>C</em>ONTACTS</a></li> <span><li><a href="index.php"><em>S</em>IGN IN</a><em>/</em><a href="sign_up.php"><em>S</em>IGN UP</a></li></span> </ul> </div> </body> <div id='center'> <form action="sign_up.php" method="POST"> SIGN UP<br><br> First Name:<input type="text" name="first_name" ><br> Sur Name:<input type="text" name="sur_name"><br> Email id: <input type="text" name="email_id"><br> Username:<input type="text" name="user_name"><br> Password:<input type="password" name="password"><br> <input type="Register" value="Sign Up"> </form> </div> </html>
  4. Hi there, Bellow attached are file with problem... when i run my sign_up.php file it only show the title bar but it wont show the sign up form.... \ if i remove the titlebar it is working and i showing the signup form ... how can i display both title bar and the signup form.... help me to solve my problem I am using xampp 1.8.2... php.zip
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.