You are here: Re: Passing parameters « PHP Language « IT news, forums, messages
Re: Passing parameters

Posted by Janwillem Borleffs on 10/02/05 17:50

Fifou wrote:
> This returns the following error :
> Notice: Undefined variable: myvar in c:\program
> files\easyphp1-8\www\test.php on line 3
>
> I thought that "myvar" should be known by the script because i send it
> through the URL. But it does not work. Do you know why ?
>

Try:

<?php print $_GET['myvar'] ?>

Read:

http://www.php.net/register_globals


JW

 

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

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