I would like to test my button can get the current value from the date\'s textbox? I got the value of submit button but I couldn\'t find any code get name of the button. So
You can do:
if ($_POST['oprf'] == '' || $_POST['oprf'] == NULL) { //this checks to see if there has been a value that was sent with the //form }
I usually use isset for cookies.