A
|
alang 8/20/2008 |
What about using a fixed "placeholder" in the SQL on the "Edit SQL query" tab then add some code in the Before SQL query to substitute the placeholder with your $_SESSION variable value? |
K
|
kenny_robb author 8/21/2008 |
What about using a fixed "placeholder" in the SQL on the "Edit SQL query" tab then add some code in the Before SQL query to substitute the placeholder with your $_SESSION variable value?
|
J
|
Jane 8/21/2008 |
Hi, if ($_SESSION["country"]) $strWhereClause = whereAdd($strWhereClause,"a=".$_SESSION["country"]); |
K
|
kenny_robb author 8/21/2008 |
Hi, just use Before SQL query event to add where clause to your SQL query. Here is a sample:
|