Re: PHP URL issues
| From: | Richard Lynch | Date: | Mon, 12 Mar 2007 22:23:48 +0000 |
| Subject: | Re: PHP URL issues | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-250333@lists.php.net to get a copy of this message | ||
On Mon, March 12, 2007 7:50 am, Don Don wrote:
> I've got the following url rewriting problem.
>
> on page 1 i've got this
>
> <p> <a href='page1.php?messageId=$tmpForum&userId=$user_id'> See
> </a></p>
>
> and on page 2 i've got this
>
> $messageID = $_REQUEST["messageId"];
> $userID = $_REQUEST["userId"];
You switched from Id to ID (capital 'D') and probably switched back
again in your 'echo' to see the values...
> when i check to see the values of these variables its says its empty,
> but when i place my cursor on the link in
> page 1 i can see both variables being show with their values in the
> browser. But on page 2 i cant get the values
> Something seems wrong perharps ?
I am pretty sure that there are no harps involved.
:-)
--
Some people have a "gift" link here.
Know what I want?
I want you to buy a CD from some starving artist.
http://cdbaby.com/browse/from/lynch
Yeah, I get a buck. So?