It's not recognized because you don't create it. Variables don't magically appear in PHP1. You need to get that value from the $_POST superglobal:
1 Anymore. They used to when register_globals existed. But that has been obsolete since long before you started coding.