Firstly, when posting sections of code, use the code tags. If you click the code button above the reply text box, it will insert the basic tags for you. You can then add =php in the code tags, and then you just put your code inside. eg.
[ code=php ]your code goes here[ /code ]
(without spaces in the tags of course)
Also, when you post, or reply to further one of your own posts, try to give as much detail about what is happening as possible. Comments like 'That didn't work', 'I get an error', or 'I tried X but no luck' are entirely unhelpful. How did it fail? Did you get any error messages? What were they *exactly*? Was there any unexpected output at all? What was it?
As for echoing the $_GET variable, it's exactly the same format as the $_POST.
Code: Select all
<?php echo $_GET['action']; ?>As for how you are echoing that $_POST value ... what IS it outputting into the newusername field?
Cheers