Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting a param

Status
Not open for further replies.

audiopro

Programmer
Joined
Apr 1, 2004
Messages
3,165
Location
GB
I have a param called 'call' which is set to a value as it enters this part of a script.
I wish to re-assign it to the value 'set_view'
I have tried numerous versions of this but I am having problems getting a single line to work.
This works

Code:
		$query->param(-name=>'call',
		-value=>'');
		print $query->hidden('call',"set_view");
but I have done this before on a single line.
Please help, my brain hurts.

Keith
 
maybe:

print $query->hidden('call',$query->('call'));

- Kevin, perl coder unexceptional!
 
Thanks Kevin
Not sure if that would solve the problem, I was using multiple submit buttons on a form and they were tripping each other up.
I have opted for multiple links instead and the problem is sorted.


Keith
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top