CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Search Parameter Problem

Print topic Send  topic

Author Message
sneakers

Posts: 13
Posted: 04/06/2004, 8:19 AM

I have a search form using a multi-select list box and a search text box. Everything seems to work fine until you run the search more than once.

When I submit the search the first time the url looks correct and the results are returned correctly.
details_list.php?s_category[]=link&s_keyword=

When I submit the search a second time, the parameters for the list box show up in the url twice.
details_list.php?s_category[]=link&s_category[]=link&s_keyword=cms

I am running the site on an apache web server.

Any help would be appreciated.
View profile  Send private message
sneakers

Posts: 13
Posted: 04/06/2004, 8:37 AM

I should note that I even tested the Example Mult-Search ListBox that came with Code Charge and it did the same thing.

MultiSelectSearch.php?s_keyword=&s_project[]=2

MultiSelectSearch.php?s_keyword=&s_project[]=2&s_project[]=2&s_project[]=3
View profile  Send private message
peterr


Posts: 5971
Posted: 04/07/2004, 12:26 AM

I just checked our example at http://examples.codecharge.com/ExamplePack/MultiSelectS...2&s_project[]=3 and I didn't see such problem. Did you maybe change anything in the example.
Otherwise possibly something in your server might be misconfigured but I'm not sure what. Do you maybe have a public URL to look at ?
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
jtuu
Posted: 04/07/2004, 6:26 AM

:-D I would remove parameters from properties window
s_category;link;
peterr


Posts: 5971
Posted: 04/07/2004, 10:50 AM

Agree, however our example has the "Preserve Parameters" property set to "None". I cannot understand why this wouldn't work for sneakers.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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