Re: Passing parameters to a PHP file.
| From: | Victor Espina | Date: | Thu, 13 Sep 2001 12:06:44 +0000 |
| Subject: | Re: Passing parameters to a PHP file. | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-12405@lists.php.net to get a copy of this message | ||
Thanks Leo, i solved the problem using $HTTP_GET_VARS[].
--
==============================
Victor Espina
Caracas, Venezuela
http://mitrompo.com/vespina
vespina@nospam.mitrompo.com
(Quite el 'nospam' para responder)
(Remove 'nospam' to reply)
"Leo G. Divinagracia III" <ldivinag@csuhayward.edu> wrote in message
news:3BA01A77.4BF8120A@csuhayward.edu...
> ummmm quick question, does VAR1 contain a value before the call???
>
> could be null to begin with...
>
> Victor Espina wrote:
> >
> > I want to call a PHP file with some parameters. I tried this sintax:
> >
> > HREF=MyPage.PHP?Var1=Value1
> >
> > But i don't seem to be receiving any value for Var1. I tested it with:
> >
> > print "Var1: $Var1";
> >
> > and the output is "Var1:"
> >
> > What i'm missing here?
> >
> > --
> > ==============================
> > Victor Espina
> > Caracas, Venezuela
> > http://mitrompo.com/vespina
> > vespina@nospam.mitrompo.com
> > (Quite el 'nospam' para responder)
> > (Remove 'nospam' to reply)
> >
> > --
> > PHP Database Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> > For additional commands, e-mail: php-db-help@lists.php.net
> > To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
> --
> Leo G. Divinagracia III
> ldivinag@csuhayward.edu