Need help with some basic PHP/HTML Form coding?

Jason

New member
What does the ."?register=true" section of the following code do? What are the ? and the . for?

<form action="<?php $_SERVER['PHP_SELF']."?register=true" ?>" method="post">
Username: <input type="text" name="username">
Password: <input type="password" name="password">
<input type="submit" name="Register">
</form>

I'm new to PHP so any help is much appreciated.
 
Back
Top