Jump to content

Passing a text box input to another form


smeee_b

Recommended Posts

Hi

 

I am very new to PHP so forgive me if this question has a simple solution.  I am trying to code a simple login script in PHP but I am having trouble passing the username and password input to another form.  I managed to get it working with the username and password input boxes underneath eachother, with an image as the submit button, but I cannot get it working when I place the input boxes and submit inage in different cells of a table.  The code is below:

 

<html>

<head>

<title>Login</title>

</head>

<body>

<table width="639" height="369" border="1">

  <tr>

    <td>*LOGIN USERNAME*</td>

  </tr>

  <tr>

    <td>*LOGIN PASSWORD*</td>

  </tr>

  <tr>

    <td>*SUBMIT IMAGE*</div></td>

  </tr>

</table>

</body>

</html>

 

The text between the *s are the username, password and submit image fields.  Any help would be more than appreciated.

 

Thanks a lot in advance

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.