[PHP] html hyperlink and PHP

2005-05-05 Thread Oscar Andersson
If i do like this. a href=huvudsida.php?action=lista target=_self 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

Re: [PHP] html hyperlink and PHP

2005-05-05 Thread Richard Lynch
You could have tried it in the time it took you to post... It's GET. On Thu, May 5, 2005 7:28 pm, Oscar Andersson said: If i do like this. a href=huvudsida.php?action=lista target=_self How does the webbrowser send this? With post or get or ..? Shall i get the action with $_POST or $_GET?

Re: [PHP] html hyperlink and PHP

2005-05-05 Thread Greg Donald
On 5/5/05, Oscar Andersson [EMAIL PROTECTED] wrote: If i do like this. a href=huvudsida.php?action=lista target=_self How does the webbrowser send this? With post or get or ..? get Shall i get the action with $_POST or $_GET? $_GET or $_REQUEST ex. @$action = $_POST['action'];

Re: [PHP] html hyperlink and PHP

2005-05-05 Thread bala chandar
Hi, On 5/6/05, Oscar Andersson [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.