how to redirect to another page by clicking on signup button as in following code???

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Susmi
    New Member
    • Jul 2015
    • 1

    how to redirect to another page by clicking on signup button as in following code???

    Code:
    <!DOCTYPE HTML> <html>
    <head> 
    <title>Sign-In</title> 
    <center><h1><font color="YELLOW" >SOFTWARE SERVICES PVT.LTD </font></h1> </Center>
    <center>
    <link rel="stylesheet" type="text/css" href="style-sign.css"> </head> <body id="body-color"> <div id="Sign-In"> 
    <fieldset style="width:30%"><legend>LOG-IN HERE</legend> <form method="POST" action="connectivity.php"> User 
    <br>
    <input type="text" name="user" size="40">
    <br> Password <br>
    <input type="password" name="pass" size="40">
    <br> 
    <input id="button" type="submit" name="submit" value="Log-In"> </form> </fieldset> </div> </body> </html> 
    </center>
    <style>
    #body-color
    { 
    background-color:#6699CC; 
    }  
    #Sign-In
    { 
    margin-top:150px;
    margin-bottom:150px; 
    margin-right:150px; 
    margin-left:450px; 
    order:3px solid #a1a1a1; 
    padding:9px 35px; 
    background:#8000CC; 
    width:400px; 
    border-radius:20px; 
    box-shadow: 7px 7px 6px; 
    } 
    #button
    { 
    border-radius:10px; 
    width:100px; 
    height:40px; 
    background:#FF00FF; 
    font-weight:bold;
    font-size:20px 
    }
    </style>
    <p align="right">
    <input type="button" value="SIGN UP" width="100" height="100"/>
    </p>
    Last edited by Rabbit; Jul 22 '15, 03:41 PM. Reason: Please use [code] and [/code] tags when posting code or formatted data.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    your HTML is heavily malformed. everything between <title> and <style> does not belong into the HTML head (and <center> is long deprecated, too)

    how to redirect to another page by clicking on signup button
    by using a submit button inside a form.

    Comment

    • weboutgateway
      New Member
      • Sep 2014
      • 23

      #3
      I think you have to work first to your login form
      Look for a login tutorials as references much better if it is ajax form with validations.
      create a database for the users and for REDIRECT using PHP

      use 'header()'

      like this

      header('Locatio n: /login.php');

      Comment

      • Toxicous8
        New Member
        • Oct 2015
        • 57

        #4
        Well,we have the same problem then.I could use the tutorial too.
        Can you give me the link?

        Comment

        Working...