You are here: passing an argument to a php page « All PHP « IT news, forums, messages
passing an argument to a php page

Posted by "B Squared" on 01/09/06 19:00

I'm trying to pass a string from the current php page to one I'm
calling. I've read (in the O'Reilly text) this involves using "?",
but there's no example. If, for example, given I have a standard
href in my code

<a href="new_page.php" (string_I_want_to_pass)>

What is the syntax for passing the string? The new page is html
with some php imbedded, and I'll want to use the string I pass
inside the php code. So the question is: How to pass a string
argument in an href call so that it can be used by php?

Thanks in advance.

B Squared

 

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

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