Re: PHP URL issues

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

 



2007. 03. 12, hétfő keltezéssel 05.50-kor Don Don ezt írta:
> 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>

is this all within something like an echo statement with " marks?
otherwise the values might not display correctly

>    
>   and on page 2 i've got this
>    
>   $messageID = $_REQUEST["messageId"];
> $userID = $_REQUEST["userId"];

why use $_REQUEST? for this $_GET should be okay, and less confusing

hope that helps
Zoltán Németh

>    
>   
> 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 ?
>    
>   Cheers
> 
>  
> ---------------------------------
> Now that's room service! Choose from over 150,000 hotels 
> in 45,000 destinations on Yahoo! Travel to find your fit.

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux