You are here: Re: Body Onload question « PHP Language « IT news, forums, messages
Re: Body Onload question

Posted by Max on 10/14/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
>
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация