HighDots Forums  

Parameter passing

alt.html alt.html


Discuss Parameter passing in the alt.html forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Will Roberts
 
Posts: n/a

Default Parameter passing - 05-07-2004 , 11:12 AM






I want to load a link in another frame (easy peasy), but now I want to pass
a parameter as part so that the html or php file can display the right
stuff. I'm sure this must be easy, but I've been scratching my head and
trying all sorts of increasingly desperate and bizarre code all afternoon.
Someone please enlighten me.



Reply With Quote
  #2  
Old   
The Doormouse
 
Posts: n/a

Default Re: Parameter passing - 05-07-2004 , 09:24 PM






"Will Roberts" <willroberts (AT) btinternet (DOT) com> wrote:

Quote:
I want to load a link in another frame (easy peasy), but now I want to
pass a parameter
You need more fiber. Maybe that's what they mean by "Fiber Optics" ...

=)

The Doormouse

--
The Doormouse cannot be reached by e-mail without her permission.


Reply With Quote
  #3  
Old   
Whitecrest
 
Posts: n/a

Default Re: Parameter passing - 05-07-2004 , 09:41 PM



In article <c7g90r$npb$1 (AT) sparta (DOT) btinternet.com>,
willroberts (AT) btinternet (DOT) com says...
Quote:
I want to load a link in another frame (easy peasy), but now I want to pass
a parameter as part so that the html or php file can display the right
stuff. I'm sure this must be easy, but I've been scratching my head and
trying all sorts of increasingly desperate and bizarre code all afternoon.
Someone please enlighten me.
And you can't pass the parameter in the URL? (or in the form)
--
Whitecrest Entertainment
www.whitecrestent.com


Reply With Quote
  #4  
Old   
Adrienne
 
Posts: n/a

Default Re: Parameter passing - 05-08-2004 , 02:52 AM



Gazing into my crystal ball I observed "Will Roberts"
<willroberts (AT) btinternet (DOT) com> writing in
news:c7g90r$npb$1 (AT) sparta (DOT) btinternet.com:

Quote:
I want to load a link in another frame (easy peasy), but now I want to
pass a parameter as part so that the html or php file can display the
right stuff. I'm sure this must be easy, but I've been scratching my
head and trying all sorts of increasingly desperate and bizarre code
all afternoon. Someone please enlighten me.


<a href="somepage.php?text=Supercalifragilisticexpial idocious"
target="main">Some Page</a>

--
Adrienne Boswell
Please respond to the group so others can share
http://www.arbpen.com


Reply With Quote
  #5  
Old   
Mitja
 
Posts: n/a

Default Re: Parameter passing - 05-08-2004 , 09:12 AM



Adrienne <arbpen2003 (AT) sbcglobal (DOT) net>
(news:Xns94E2F2CD8AF6Earbpenyahoocom (AT) 207 (DOT) 115.63.158) wrote:
Quote:
Gazing into my crystal ball I observed "Will Roberts"
willroberts (AT) btinternet (DOT) com> writing in
news:c7g90r$npb$1 (AT) sparta (DOT) btinternet.com:

I want to load a link in another frame (easy peasy), but now I want
to pass a parameter as part so that the html or php file can display
the right stuff. I'm sure this must be easy, but I've been
scratching my head and trying all sorts of increasingly desperate
and bizarre code all afternoon. Someone please enlighten me.



a href="somepage.php?text=Supercalifragilisticexpial idocious"
target="main">Some Page</a
And for more params:
<a href="foo.cgi?param1=value1&param2=value2&param3=v alue3" etc.>




Reply With Quote
  #6  
Old   
Roland Messerschmidt
 
Posts: n/a

Default Re: Parameter passing - 05-10-2004 , 01:52 PM



Hi,

Michael Wilcox <mjwilco_usenet (AT) yahoo (DOT) com> schrieb:

Quote:
Using PHP, this variable is actually accessed as $_GET['text']
Thank's a lot, now it works as I want!
On the other hand today I realized, that the ISP hosting the site
doesn't speak PHP...

:-( or :-), choose yourself!


Roland




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.