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?

Combining fileds in table...
(1 viewing) (1) Guest
Go to bottomPage: 12
TOPIC: Combining fileds in table...
#25739
Combining fileds in table... 12 Years, 2 Months ago Karma: 0
Hi,

I have this query now working, but I can't get fields combined in the table, like j17_comprofiler.cb_mv and j17_comprofiler.cb_voortitel (I tried CONCAT)
I also don't know how to get the table over more lines as the table is to wide.

SELECT
j17_comprofiler.cb_mv,
j17_comprofiler.cb_voortitel,
j17_comprofiler.cb_voorletters,
j17_comprofiler.firstname,
j17_comprofiler.middlename,
j17_comprofiler.lastname,
j17_comprofiler.cb_achtertitel,
j17_comprofiler.cb_bedrijf,
j17_comprofiler.cb_functie,
j17_comprofiler.cb_bezoekadresplaats,
j17_users.email
FROM j17_comprofiler
CONCAT (j17_comprofiler.firstname," ",j17_comprofiler.cb_voorletters) AS combi
INNER JOIN j17_users ON j17_comprofiler.id = j17_users.id
WHERE j17_comprofiler.cb_advocaat2 =1 AND j17_comprofiler.approved =1 AND j17_users.block =0

Thanks,

Tom
The administrator has disabled public write access.
 
#25740
Re:Combining fileds in table... 12 Years, 2 Months ago Karma: 748
Hello,

Use the next SQL query:

Code:


SELECT
j17_comprofiler.cb_mv,
j17_comprofiler.cb_voortitel,
j17_comprofiler.cb_voorletters,
j17_comprofiler.firstname,
j17_comprofiler.middlename,
j17_comprofiler.lastname,
j17_comprofiler.cb_achtertitel,
j17_comprofiler.cb_bedrijf,
j17_comprofiler.cb_functie,
j17_comprofiler.cb_bezoekadresplaats,
j17_users.email,
CONCAT(j17_comprofiler.firstname," ",j17_comprofiler.cb_voorletters) AS combi
FROM j17_comprofiler
INNER JOIN j17_users ON j17_comprofiler.id = j17_users.id
WHERE j17_comprofiler.cb_advocaat2 =1 AND j17_comprofiler.approved =1 AND j17_users.block =0



Regards,
ARI Soft
The administrator has disabled public write access.
 
#25741
Re:Combining fileds in table... 12 Years, 2 Months ago Karma: 0
That was fast!!!

Do you have an answer on the second topic:

I also don't know how to get the table over more lines as the table is to wide.

Tom
The administrator has disabled public write access.
 
#25742
Re:Combining fileds in table... 12 Years, 2 Months ago Karma: 748
Could you provide an image where we can see what do you want to achieve?

Regards,
ARI Soft
The administrator has disabled public write access.
 
#25743
Re:Combining fileds in table... 12 Years, 2 Months ago Karma: 0
You can see it here: www.vrouwholle.com/index.php/nl/ari-advocaat-dienstbetrekking

The table is too wide.

Tom
The administrator has disabled public write access.
 
#25744
Re:Combining fileds in table... 12 Years, 2 Months ago Karma: 748
You can use "ARI Data Table" table widget. It supports scrolling feature. For this set "Choose table type" parameter to "ARI Data Table", "ARI Data Table -> Using jQuery UI themes" parameter to "Yes", "ARI Data Table - > Scroll Width" to 765 value.

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