Can someone please help and tell me what I am doing wrong.
<html>
<head>
<title>FRHG Guest Wireless Account Creation or Deletion</title>
</head>
<body>
<h1 align= "center">Fremont-Rideout Health Group</h1>
<h1 align= "center">Guest Wireless</h1><br /><br /><br />
<form method= 'post' action= '<?php echo $PHP_SELF;?>' id='form' accept-charset='UTF-8'>
<fieldset>
<legend>Account Creation/Deletion</legend><br /><br />
<label for='uname' >Username: </label>
<input type='text' size='30' maxlength='30' name='uname'><br /><br />
<label for='pword' >Password: </label>
<input type='password' size='30' maxlength='30' name='pword'><br /><br />
<input type='radio' name='create' value='creation' />Create
<input type='radio' name='create' value='deletion' />Delete<br /><br />
<input type='submit' name="submit" value='Submit' /><br /><br />
</fieldset>
</form>
<h5>*For Deleting feature, do not input Password</h5>
<?php
/*$uname = $_POST['uname'];
$pword = $_POST['pword'];
$create = $_POST['creation'];
$delete = $_POST['deletion'];*/
if(isset($_POST['create']))
{
if($_POST['create'] == 'creation')
{
echo -e ,"{$_POST['uname']} /n{$_POST['pword']}" > WifiGuestCreate/"{$_POST['uname']}";
}
elseif($_POST['create'] == 'deletion')
{
echo -e ,"{$_POST['uname']}" > WifiGuestDelete/"{$_POST['uname']}";
}
else
{
echo "<p>Please select Create or Delete</p>";
}
}
?>
</body>
</html>