How would i go about correctly defining the following variables that i am taking in from a form.
[php]$forrm = "
(*required) | |
(*required) | |
(*required) | |
if (isset($_POST[‘registerbutton’]))
{
$user = $_POST[‘user’];
$email = $_POST[‘email’];
$password = $_POST[‘pass’];
if ($user == "Username")
$user = "";
if ($email == "Email")
$email = "";[/php]
Ive tried to apply the (isset ()) function for example :(isset($_POST=‘user’)
but it doesnt seem to be defining my new variable. could anyone possible lend me some advise.