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?

JTableSorter with SQL Table
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: JTableSorter with SQL Table
#7295
JTableSorter with SQL Table 14 Years, 2 Months ago Karma: 0
Hi,
i can't make it combine this 2 modules could you give me a code example how to combine them.
this works perfect :

{arisqltable}

{ariconnectionstring dbHost="localhost" dbUser="xxx_test2" dbPass="xxx" dbName="xxx_test2" dbType="mysqli"}
{arisqltablecolumns}
{arisqltablecolumn id="ID" alias="ID" width="20%" className="idg"}
{arisqltablecolumn id="NAME" alias="UserName" headerClassName="head"}
{/arisqltablecolumns}
{arisqltablequery}
SELECT id AS ID,name AS NAME
FROM jos_vathmologia
{/arisqltablequery}
{/arisqltable}
but i want it inside of a nice table layout,
thanks in advance
rag
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#7320
Re:JTableSorter with SQL Table 14 Years, 2 Months ago Karma: 760
Hello,

Use the following code:

Code:


{arijtablesorter}
{arisqltable}
{ariconnectionstring dbHost="localhost" dbUser="xxx_test2" dbPass="xxx" dbName="xxx_test2" dbType="mysqli"}
{arisqltablecolumns}
{arisqltablecolumn id="ID" alias="ID" width="20%" className="idg"}
{arisqltablecolumn id="NAME" alias="UserName" headerClassName="head"}
{/arisqltablecolumns}
{arisqltablequery}
SELECT id AS ID,name AS NAME
FROM jos_vathmologia
{/arisqltablequery}
{/arisqltable}
{/arijtablesorter}



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