I wrote a program in PHP with so many variables. I don’t want to use submit button. is there anyway 2 use href?
when I use <a href> <a/> , it doesn’t POST the variable to the destination. it only go to that page without any process. I could also use dropdown list with 1 submit button.
Thanks in advance.
Use cookies, http-header, GET, POST, AJAX and I think that just about it.
?!?!
you mean you are trying to pass variables via url?
Well, than your main issue would be that you are probably trying to call a GET variable via the POST variable method.
Try $_GET['varNameHere'] instead of $_POST['varNameHere']
References :
Use cookies, http-header, GET, POST, AJAX and I think that just about it.
References :