In test1.php you shoul have

<?
    $qry=getenv("QUERY_STRING");
    $rosen=substr($qry,6);
    print("$rosen");
?>

Sorin Ifrim

Rosen <[EMAIL PROTECTED]> wrote in message
96tdvp$oo7$[EMAIL PROTECTED]">news:96tdvp$oo7$[EMAIL PROTECTED]...
> Hi,
> I have two simple php files:
>
> main.php:
> <A HREF="test1.php?rosen=11">LIST</A>
>
> test1.php:
>
> <?print("$rosen");?>
>
>
>
> But this doesn't work !
>
> please HELP !
>
>
>
> Rsen Marinov
>
>
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to