Motion
10-09-2006, 02:41 PM
Ok i have this:
echo("<form action=\"edituser.php?user=$_POST[username]\"><font face=\"Verdana\" size=\"1\"><b>Edit User</b><br><br>Please type in the user you wish to edit<br><input type=\"text\" input size=\"25\" name=\"username\"><br><br><input type=\"submit\" name=\"edituser\" value=\"Edit This User\"></form>");
When i press submit it goes to this:
edituser.php?username=Ryan&edituser=Edit+This+User
So its adding on &edituser=Edit+This+User to the end and is going to username=Ryan not user=Ryan and i dont understand why ^.^
echo("<form action=\"edituser.php?user=$_POST[username]\"><font face=\"Verdana\" size=\"1\"><b>Edit User</b><br><br>Please type in the user you wish to edit<br><input type=\"text\" input size=\"25\" name=\"username\"><br><br><input type=\"submit\" name=\"edituser\" value=\"Edit This User\"></form>");
When i press submit it goes to this:
edituser.php?username=Ryan&edituser=Edit+This+User
So its adding on &edituser=Edit+This+User to the end and is going to username=Ryan not user=Ryan and i dont understand why ^.^