PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
the variable is lost! If I leave out the $_POST code I can retain the variable. Does anyone know why this is so? I have other form handlers that are written the same but work OK.
Does the first_name get displayed ? If not (the array is empty) please check the form is sending POST not GET.
Please give us more specific information (such as the form definition) in order that we can try to help you. The more "consise" information you give the easier it is for us to help you.
At a guess I would say it works leaving the $_POST because you have register_globals ON. Loads of posts on this so I will just say this is a bad idea.