You are here: calling PHP self with a text link « PHP « IT news, forums, messages
calling PHP self with a text link

Posted by "Ross" on 09/02/05 10:00

Hi,

I want call the current page and set a variable (or call a function)

< a href="index.php?variable=bananas" -this works but means I have to change
it for every page name

I have tried

<a href="<? $PHP_SELF(); ?>">this is the link</a>

Only works within a <form> tag.

Any ideas - no javascript solutions that is what I am trying to avoid.


R.

 

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

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