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!
Hi, I am made a page that sends out email with the message of whatever i typed into the textarea, but when i tried to put a simple password on the page, it didnt work. I just wanna make it so you have to type in a password, and if its correct, then echo the other textarea where i can send out the email. Heres what I have got (There's no parse error, it just doesnt work)
You use $_POST at one of them, but not the other? 'submt' is also something that was 'posted' so you should $_POST['submit'] that also to avoid future errors.