CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 Passing params using an URL

Print topic Send  topic

Author Message
Kevin
Posted: 12/26/2002, 10:01 PM

I created a page that expects a category_id to be passed via the url, this
works fine and only the records that have matching category_id's show up.
The problem is the links with the url's are on the same page as the grid so
when you click on the <a href="./gridpage.php?category_id=14" ></a> it works
the first time as
gridpage.php?category_id=14 but the second time you click you get :
gridpage.php?category_id=14&category_id=14
which is not a vaild SQL where clause.

jc
Posted: 12/26/2002, 11:18 PM

You can set PreserveParams to None or to add category_id as
RemoveParameter for Link

Kevin wrote:
> I created a page that expects a category_id to be passed via the url, this
> works fine and only the records that have matching category_id's show up.
> The problem is the links with the url's are on the same page as the grid so
> when you click on the <a href="./gridpage.php?category_id=14" ></a> it works
> the first time as
> gridpage.php?category_id=14 but the second time you click you get :
> gridpage.php?category_id=14&category_id=14
> which is not a vaild SQL where clause.
>
>

   


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.