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


Recent Events
  • 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.

  • 21/11/2023 BLACK FRIDAY 23 is coming

    BIG SALE, 35% discount for all our extensions. Use BF23 coupon code. Hurry up the discount is valid till 27 November.


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, 6 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, 6 Months ago Karma: 748
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, 6 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, 6 Months ago Karma: 748
They can work together.

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