save url in mysql database

Discussion in 'PHP' started by nomirock, Jan 12, 2008.

  1. #1
    i am using the following form
    <html>
    <head><title>Register</title></head>
    <body>
    <h1>Registration</h1>
    <form method="get" action="register.php">
    <table>
    <tr><td>E-mail address:</td>
    <td>
    <input type='text' name='email'/>
    </td></tr>
    <tr><td>First name:</td>
    <td><input type='text' name='first_name'/></td></tr>
    <tr><td>Last name:</td>
    <td><input type='text' name='last_name'/></td></tr>
    <tr><td>Password:</td>
    <td>
    <input type='password' name='password'/>
    </td></tr>
    <tr>
    <td colspan='2'>
    <input type='submit' name='register' value='Register'/>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>

    to create a URL http://localhost/sendsms/register.p..._name=candy&password=rabbit&register=Register
    Now i want to add this URL (http://localhost/sendsms/register.p..._name=candy&password=rabbit&register=Register)
    to mysql database.
    plz help me with it
     
    nomirock, Jan 12, 2008 IP
  2. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #2
    1. Why?

    2. When? When the form is being displayed, or after the form has been sent back to the server?
     
    SmallPotatoes, Jan 12, 2008 IP