by pass the submit button without clicking?[SOLVE]

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!

Moderator: General Moderators

Post Reply
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

by pass the submit button without clicking?[SOLVE]

Post 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?
Last edited by jayson.ph on Thu Aug 16, 2012 10:22 pm, edited 1 time in total.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: by pass the submit button without clicking?

Post by requinix »

jayson.ph wrote:all i need is to link
Got that right.
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

Re: by pass the submit button without clicking?

Post by jayson.ph »

how?
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: by pass the submit button without clicking?

Post 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>
User avatar
jayson.ph
Forum Contributor
Posts: 165
Joined: Mon Jan 02, 2012 9:20 am
Location: MP
Contact:

Re: by pass the submit button without clicking?

Post by jayson.ph »

That is not what i mean.. but i already solve the problem.. by the way thanks [requinix].
Post Reply