Page 1 of 1

by pass the submit button without clicking?[SOLVE]

Posted: Thu Aug 16, 2012 12:42 am
by jayson.ph
Hi all,

it is possible to by pass the submit button without clicking? ex.

request_in.php

Code: Select all

<FORM METHOD = "POST" ACTION = "request.php">
		?
                ?
                ?
                ?
<input type = "submit" value = "<?php header('Location:request_in.php');?>">
</FORM>	
all i need is to link into request.php without clicking submit? but before that i have a page if where i click to pass by request_in.php and any suggestions if it is possible?

Re: by pass the submit button without clicking?

Posted: Thu Aug 16, 2012 1:25 am
by requinix
jayson.ph wrote:all i need is to link
Got that right.

Re: by pass the submit button without clicking?

Posted: Thu Aug 16, 2012 1:41 am
by jayson.ph
how?

Re: by pass the submit button without clicking?

Posted: Thu Aug 16, 2012 2:29 am
by requinix
You're saying all you want is to go to a page (which, I'm not sure) without using the form, right? So use a link.

Code: Select all

<a href="whichever page.php">Link text</a>

Re: by pass the submit button without clicking?

Posted: Thu Aug 16, 2012 10:22 pm
by jayson.ph
That is not what i mean.. but i already solve the problem.. by the way thanks [requinix].