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

 SQL Where clause from form links

Print topic Send  topic

Author Message
saseow

Posts: 744
Posted: 12/18/2008, 8:53 AM

I have multiple form links on a page which also contains a grid.

I want the grid populated with an SQL statement where the WHERE clause is given by the link clicked. I presume that this has to go into the link parameter but have no idea how to do this.

Any help with an example would be so appreciated.

Regards,

Trevor
View profile  Send private message
sosamv

Posts: 50
Posted: 12/23/2008, 2:36 PM

If you want to do that, you need to set the link like "page.php?clause={variable}" the "variable" itself can be set dynamically by the grid and its just a matter of catching the GET variables and perform any task you may want to carry
View profile  Send private message
saseow

Posts: 744
Posted: 12/23/2008, 5:46 PM

Thank you for the answer! I have managed to sort it out and now understand parameters very well. Thank you so much!

Kindest regards,

Trevor
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.

Web Database

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.