CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 how to append multiple values to same parameter in querystring

Print topic Send  topic

Author Message
morowind

Posts: 46
Posted: 12/21/2010, 7:51 AM

hello all,
I have a problem that I can not solve:


I want to add the same parameter in the querystring but with added further value (append value to parameter)


?model=Mazda&specs=ABS

when I add another 'specification (specs)' -for example "ESP"- querystring will become:

?model=Mazda&specs=ABS,ESP

and so on with other specifications.
so..the question is how to append multiple values to same parameter.

is nessesary to catch old value and append new value...

thank's for reading this.
View profile  Send private message
datadoit
Posted: 12/21/2010, 9:09 AM

http://docs.codecharge.com/studio40/html/Components/Fun...dParam.html?toc

CCAddParam(CCGetQueryString("QueryString",""), "specs",
CCGetParam("specs","") . "," . "ESP");

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.