You are here: Re: passing variable using url - what's wrong? « PHP Programming Language « IT news, forums, messages
Re: passing variable using url - what's wrong?

Posted by David Haynes on 01/03/06 13:17

Leszek wrote:
> Right. I changed like you said.
>
> This is what i'm getting
> GET SET
> Array
> (
> )
> Does it mean that $_GET is empty?
> So,
> <A HREF=\"./szczegoly.php?nazwah=$nazwa_hotelu\">$nazwa_hotelu</A>
> doesn't send nazwah to $_GET??
>
>
>
>
>
I does indeed mean that $_GET is empty.
So, what web server are you using to serve up the pages?
I am suspicious about the './' prefix. Why is it there?
Also, I think you need to adjust the line to read:

<A HREF="szczegoly.php?nazwah=<?php echo $nazwa_hotelu;?>">$nazwa_hotelu</A>

-david-

 

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

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