Re: Variables not retaining values
| From: | Michael Purdy | Date: | Sun, 07 Nov 2004 01:55:05 +0000 |
| Subject: | Re: Variables not retaining values | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-24926@lists.php.net to get a copy of this message | ||
Anne
On your keywords_delete_ask.php page what error does
echo $_REQUEST['id'];
Produce?
Mike
----- Original Message -----
From: "Anne Shroeder" <anne@language-works.com>
To: <php-windows@lists.php.net>
Sent: Sunday, November 07, 2004 10:16 AM
Subject: [PHP-WIN] Variables not retaining values
> A very kind soul helped me a few months back with the problem of variables
> not being passed through forms (due to a setting in php.ini that the web
> hosting service will not change). Solution was to refer to the variable
in
> the receiving page as $_POST["variablename"]
>
>
> That worked great! But now I have a problem with a slightly different
> flavor. I want to call a page that passes a variable through (in this
case
> id) - I've tried everything to get the receiving page to recognize the
> variable, but it always comes out blank. Example:
>
> I want to delete an item:
> <A HREF=keywords_delete_ask.php?id=$keywordid>DELETE</A>
>
> And the item I've selected has ID=145. The URL tells me that I've gone to
> keywords_delete_ask.php?id=145
>
> Yet the value of id is most definitely not passed through. This is
probably
> a very simple fix, but I am at my wits end.
>
> Anne
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>