![]() |
query with left join and grouping.
I have two tables, "custom_droplinks_cat" and "custom_droplinks".
Below is the tables' layout. I hope it is easy to understand. Code:
---------------------------------------- I don't want to ask more than I need to so I'll just ask "How do I make "Test Category" bold then place "Test Link" immediately after followed by a break (br />)? PHP Code:
I want the result to be Code:
Test Category 1 |
A basic example on how you could do this:
PHP Code:
|
Thanks for answering my question. I'm going to try it out soon.
|
I thought I could apply the solution Marco gave me to the real query but I can't get it to work.
Here is the actual code PHP Code:
|
Please post the actually code, i don't want to go decode your XML.
Also telling what is not working might also help. |
1 Attachment(s)
In the screenshot "Test1" is supposed to have "vBulletin" and "Test2" is supposed to have "Xen Web".
I'm not sure if this code snippet will suffice but I don't want to post all the code as it may be overwhelming. PHP Code:
Edit: I think I may have to do two separate queries. |
I figured out the mistake and I fixed it.
Thanks Marco for atleast making an effort to help. I ran into another problem but I got it situated. I'm posting the working code here for two reasons. One is if I lose the code and the other is for other people to look at. I wanted to use "left join" but the query got to be too complicated for me. PHP Code:
|
All times are GMT. The time now is 04:25 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|