then something else is wrong. I have this addUser form but what keeps happening is the stuff between the php tags, <?php echo $_SERVER['PHP_SELF'];?>, gets echoed to the url like this <?%20echo%20$PHP_SELF;?>
What I want it to do is process the form:
<form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" name="addUserForm" >
<input name="Username" type="text" value="username" size="30" maxlength="30" ><br>
<input name="Password" type="text" value="password" size="30" maxlength="30" ><br>
<input name="Submit" type="submit" value="Add" >
</form>
then if it gets posted continue with the code at the top of the page:
require("settings.php");
if(isset($_POST['submit']))
{.......................
thanks,