php-general | 2005051
Date: 05/06/05
- Next message: bala chandar: "Re: [PHP] PHP based project management"
- Previous message: Greg Donald: "Re: [PHP] downloading files"
- In reply to: Oscar Andersson: "[PHP] html hyperlink and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
On 5/6/05, Oscar Andersson <oscarandersson2 <email protected>> wrote:
> If i do like this.
> <a href="huvudsida.php?action=lista" target="_self">
if u do like above u might have to use $_GET['action']
> How does the webbrowser send this? With post or get or ..?
> Shall i get the action with $_POST or $_GET?
> ex.
> @$action = $_POST['action'];
> if(!$action)
> @$action = $_GET['action'];
> processRequest($action);
>
> If i do like this
> <form action="huvudsida.php" method="post">
> <INPUT TYPE="HIDDEN" VALUE="lista" NAME="action">
if u use like above use $_POST['action']
> </form>
> How do i get the action in my php page. I think it is with $action =
> $_POST['action'];
if u r not sure what to use,
use $_REQUEST['action'];
> but it doesent work.
>
> Tnx for any help mates
-- bala> balachandar muruganantham blog> lynx http://chandar.blogspot.com web> http://www.chennaishopping.com-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: bala chandar: "Re: [PHP] PHP based project management"
- Previous message: Greg Donald: "Re: [PHP] downloading files"
- In reply to: Oscar Andersson: "[PHP] html hyperlink and PHP"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

