Jump to content

Having trouble passing a parameter with a submit button


pb1uk

Recommended Posts

Hello all,

 

I'm currently in the process of making a fantasy football website in Dreamweaver and phpmyadmin. When a user visits the site and wants to enter the competition they click register which brings up the register page. There they can fill out the form containing details username, password etc. When they click the register button at the bottom of the form their details are put into the users table in the database and they are passed onto the next page where they are asked to pick their team. The team details are kept in a seperate table in the database.

 

What i'm trying to do is pass the username that is created in the register from to the pick team page as a parameter.

 

Currently the code for my button is as follows:

 

 

In another section of the site i have passed a parameter with a link as follows:

 

but i'm not sure how to pass a parameter using a submit button, can anyone help me please?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
×
×
  • Create New...