Posted by Max on 11/24/61 11:26
I believe you need to do this first before the echo statement in
MyPhpFile.php:
$MyVal = $_POST[MyVal];
Max
"Henk van Winkoop" <h.van.winkoop@wxs.nl> wrote in message
news:432597b0$0$25285$ba620dc5@text.nova.planet.nl...
> Hello,
>
> My test.html file contains:
>
> <body Onload="InFrame.location.href='MyPhpFile.php?MyVal=55'">
>
> My 'MyPhpFile.php' contains:
>
> <? echo "Value = $MyVal"; ?>
>
> now I expect to show: 'Value = 55'
>
> but it says: 'Value ='
>
> How do I pass the value defined in '<body Onload...' to my .php file?
>
> thanks
>
> Henk
>
>
>
[Back to original message]
|