Having trouble passing a parameter through a button, php
Hello all,
I'm new to the forum and to web design and Dreamweaver, please go a little easy on me!
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 form to the pick team page as a parameter.
Currently the code for my button is as follows:
<input type="submit" value="Insert record" />
and the sql for after insert goto is currently?
$insertGoTo = "pickteam.php";
In another section of the site i have passed a parameter with a link as follows:
<a href="editgoalkeeper.php?gkid_gk=<?php echo $row_rs_viewgks['gkid_gk'];?>">
but i'm not sure how to pass a parameter using a submit button, can anyone help me please?
