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?

Inject SQL code on the fly
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Inject SQL code on the fly
#8092
Inject SQL code on the fly 14 Years, 1 Month ago Karma: 0
Congratulations for the good work!

Here is my question:

I need to inject the SQL code to the plugin instead of adding it in advance in a module. In other terms, I need to construct the SQL code dynamically. This is due to I need to supply the user with various links that lead to the same page however with different 'WHERE' clauses ...

<I do code>

Is this possible?
Last Edit: 2010/10/25 12:13 By wayward.
The administrator has disabled public write access.
 
#8094
Re:Inject SQL code on the fly 14 Years, 1 Month ago Karma: 760
Hello,

No, this is impossible. The module only provides ability to use some predefined variables in SQL query like user id, user name and other.

Regards,
ARI Soft
The administrator has disabled public write access.
 
#8101
Re:Inject SQL code on the fly 14 Years, 1 Month ago Karma: 0
OK - never mind.

Keep this idea as future development. I see here a need possibly, the code to be converted to a component that would accept input (post data) from a form (the select statement could be passed from a hidden field).

And then provide a view based on the data passed ...

Thanks anyway.
The administrator has disabled public write access.
 
#8103
Re:Inject SQL code on the fly 14 Years, 1 Month ago Karma: 0
Ooops - there is a reasonable workaround:

Keep a temporary table that will be updated on the fly. Do the SELECT on this table ... fixed.
The administrator has disabled public write access.
 
#8120
Re:Inject SQL code on the fly 14 Years, 1 Month ago Karma: 760
We are going to add possibility to use request variables in SQL query in a future release.

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