How do you reference the HTML form attribute "name" in a PHP script?

Michael K

New member
For instance I wan't to set a username = to my PHP session id

so..
Username: <input type="text" name="username" size="15" /><br />
<?php $_SESSION['username'] = 'username'; ?>

Is that right? It's not working...
 
Back
Top