CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Dynamic parameter for WHERE Clause

Print topic Send  topic

Author Message
cancerian

Posts: 9
Posted: 04/16/2010, 10:55 AM

Hello -

In my application , I am passing a href link like below (value 1 can be anything based on user selection)

http://localhost/asyst/trend.php?1=scenario

When I connect to trend.php page (in above exampe), I would like to use the parameter (1 in this case) or any other parameter that is passed with href in the WHERE clause of Select. For example on trend.php the grid is suppose to display records where field value=1 or any value passed with the link..I tried everything such "where FIELD={Expr1}" but to no avail..

I am sure I am missing something simple.. Any help is appreciated.

Thanks
View profile  Send private message
ckroon

Posts: 869
Posted: 04/16/2010, 2:20 PM

The page is not displaying for me.. File Not Found.

In the URL you have 1 = scenario

I think you want scenario = 1

In the HREF properties you may have reversed your values.

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

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.