Re: Variables not retaining values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anne

On your  keywords_delete_ask.php   page what error does

 echo  $_REQUEST['id'];

Produce?

Mike

----- Original Message ----- 
From: "Anne Shroeder" <anne@xxxxxxxxxxxxxxxxxx>
To: <php-windows@xxxxxxxxxxxxx>
Sent: Sunday, November 07, 2004 10:16 AM
Subject:  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
>

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux