Re: Globvars
| From: | Brad LaFountain | Date: | Mon, 05 Aug 2002 14:56:51 +0000 |
| Subject: | Re: Globvars | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-86534@lists.php.net to get a copy of this message | ||
Im not sure exactly what you are asking but, if you want to get around from
chaning your scripts from accessing $_POST[var] vs $var you simply can do
$var = &$_POST['var']; Then your scripts can still run.
FYI: This list isn't for these type of questions this is for development OF
php not development with php, see php-general for future questions.
- brad
--- Sascha Braun <saschabraun@gmx.de> wrote:
> Hello together,
>
> while I was making my scripts, I was trying out some code I made yesterday. A
> very interesting Problem appeard in my work.
>
> I can use the $_POST['varname'] method working with Forms, but what, when I
> wrote the script for two way navigation? - In my case I need a search engine
> wich works allready and I need some Kategoriebutton for doing nearly the
> same, but just only by linking the same page as the search with an anchor,
> like this: "<a href="anypage.php?kategorie=$value">". $Value is
> normaly the
> same, what $_POST['varname'] would be. How can I still make usefull links
> without buildung forms everywhere?
>
> I you would like to give a hint, I would again be very pleased.
>
> Have it nice!
>
> Sascha Braun
>
__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com