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!
i have also tried $_POST['submit'] . i also have similar forms wrapped in a function that dont give me any error, so I take it that it there another way of defining the value $submit that I need to do.
it just means that the variable $submit has not been initialised yet.
this probably happens on the first view of the page before you have pressed the submit button.
it is much better to use $_POST['submit'] as you should not turn on register_globals. consult the manual for reasons.