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 -> General/Other

 MySQL output as href

Print topic Send  topic

Author Message
traef06

Posts: 4
Posted: 11/10/2007, 6:13 AM

I have a mysql query that's outputting data on a webpage.

Now I would like to have one of the columns output the same data but I want each one to be an href that passes the output data as a parameter.

My need is two-fold:

How do I set this up in the data display page?

and...

How do I setup the receiving page? (destination of the link which accepts the passed query string parameter)

Thank you in advance.
_________________
Thomas J. Raef
e-Based Security, LLC
"You're either hardened, or you're hacked!"
http://www.ebasedsecurity.com
View profile  Send private message
ckroon

Posts: 869
Posted: 11/10/2007, 9:22 AM

You want them to display as links? If so, change the labels to links and ad the parameter info in the href source..
_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
traef06

Posts: 4
Posted: 11/11/2007, 10:38 AM

Thank you ckroon.

Now how do I setup the receiving page? I tried adding this into Custom code for Before Show:

my $UserString = CCGetParam("UserString", "");

But that isn't working.

What am I missing. I've searched the forums for an example and I can't seem to find one. I read through the tutorial as well.

Thank you.
_________________
Thomas J. Raef
e-Based Security, LLC
"You're either hardened, or you're hacked!"
http://www.ebasedsecurity.com
View profile  Send private message
ckroon

Posts: 869
Posted: 11/11/2007, 12:35 PM

I keep it simple.

If the URL is passing, have the receiving page's grid set to filter out records accordingly.

On the Grids Where statement. Choose URL.

_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
traef06

Posts: 4
Posted: 11/11/2007, 12:41 PM

Thank you for your answer but I have no idea where that's located.

I submit a request to tech support.

Thank you.
_________________
Thomas J. Raef
e-Based Security, LLC
"You're either hardened, or you're hacked!"
http://www.ebasedsecurity.com
View profile  Send private message
ckroon

Posts: 869
Posted: 11/11/2007, 12:58 PM

email me at ckroon at symbol gmail
I'll walk you through it

_________________
Walter Kempees...you are dearly missed.
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.