Home News Contact Us Forum About Us Demos Products F.A.Q.
Shopping Cart
You currently have 0 items in your cart.


Recent Events
  • 23/11/2024 Black Friday 2024

    BIG SALE, 30% discount for all our extensions. Use BF24 coupon code. Hurry up the discount is valid till 3 December.

  • 31/12/2023 New Year SALE

    We are glad to announce New Year SALE. 25% discount for all our extensions. Use NY24 coupon code. Hurry up the discount is valid till 7 January.


2Checkout.com, Inc. is an authorized retailer of goods and services provided by ARI Soft. 2CheckOut




Follow us on twitter



Welcome, Guest
Please Login or Register.    Lost Password?

SQL Variable Query for Second Table
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: SQL Variable Query for Second Table
#47073
SQL Variable Query for Second Table 10 Years, 10 Months ago Karma: 0
Hi,

I have worked through many forum answers regarding SQL variables in a secondary table query but I am unable to get my code to work.

Please could you check it out for me?

The page is here: (removed)

The example tables and data I am using works if the WHERE statement in the second table is set to the following:

SELECT * FROM go_tbl_test_roles WHERE role_id=2

(or the 2 is exchanged for any valid value in the second table go_tbl_test_roles)

But the variable expression WHERE role_id={$REQUEST:employee_id} returns no table at all.


Regards
Last Edit: 2014/01/03 15:45 By kenton.hodges@gardiners.u.Reason: privacy
The administrator has disabled public write access.
 
#47076
Re:SQL Variable Query for Second Table 10 Years, 10 Months ago Karma: 760
Hello,

It seems you use "ARI Smart Content: DataTable Pack", but this topic is about "ARI Data Tables" extension (these are two different extensions). Currently "ARI Smart Content" doesn't support ability to use request variables in SQL query.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#47079
Re:SQL Variable Query for Second Table 10 Years, 10 Months ago Karma: 0
Hi,

Disappointing but if I purchase Ari Data Table extension, will I need to uninstall smart content or can they be used together?

Regards
The administrator has disabled public write access.
 
#47085
Re:SQL Variable Query for Second Table 10 Years, 10 Months ago Karma: 760
They can work together.

Regards,
ARI Soft
The administrator has disabled public write access.
 
Go to topPage: 1