Welcome Guest, Not a member yet? Register   Sign In
Search Results
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Hi PaulD thank you for your time, No i did not had time to look into it, because i had to work. I will be getting back at CodeIgniter learning real soon, because my PHP classes are starting again. ...
21,011 Views
25 Replies
01-18-2018, 03:04 PM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Categories and forums someone?
21,011 Views
25 Replies
01-09-2018, 01:53 PM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

bump bump
21,011 Views
25 Replies
01-05-2018, 10:08 AM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Yes @PaulD , exacly :D i just tried out this before 2 days. But then im struggling past that. Should i do foreach and then another foreach inside in the controller and return data to the view, or do i...
21,011 Views
25 Replies
01-02-2018, 07:21 PM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Bump bump
21,011 Views
25 Replies
01-02-2018, 11:17 AM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Im not sure that i need to hit the books for databases. Databases should be just a simple container for my info. Joins or where is just a simple conditional statement. I need to know how people nest c...
21,011 Views
25 Replies
01-01-2018, 05:48 PM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Thats exacly what i want to do. Simply fetch all the categories filled with the right forums inside of them. Im sorry for the hassle, im still in highschool and im a total noob in frameworks. In th...
21,011 Views
25 Replies
01-01-2018, 12:03 PM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Yes a structure like yours seems nice, i will definitely change my structure later on, but since in vanilla php with this structure i achieved just what i wanted, before i make the changes i want to l...
21,011 Views
25 Replies
01-01-2018, 10:06 AM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Sorry for taking so long to reply. @jreklund yes your naming for the database stuff and the structure is clearer. I will definitely re-do mine after i learn what i wanted to do, but still as you said ...
21,011 Views
25 Replies
01-01-2018, 03:16 AM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Okay, but for the sake of simplicity i was asking for an easy example, because my actual goal is to create a relation for a few other things Pastebin -> https://pastebin.com/YFuBAqEP. Desired Result -...
21,011 Views
25 Replies
12-29-2017, 07:15 AM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

@jreklund thanks! I will test out both ways to check them out and i think that returning the results in 1 query would be the best way because the view stays fresh. Thank you! EDIT: Actually how can i...
21,011 Views
25 Replies
12-29-2017, 05:50 AM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

I think i managed to do it, but i have another problem now! This is what i am getting as a result. https://imgur.com/a/cGsW3 (https://imgur.com/a/cGsW3) - Click for image. The problem is that th...
21,011 Views
25 Replies
12-28-2017, 05:03 PM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: RE: CI Forum - get_where function for forum and to...

Yea that should work, but how can i reach the $topic_forum_id ,which is from another table in the database. What would be the best way? I should have said earlier that i wanted a cleaner way. Thanks! ...
21,011 Views
25 Replies
12-28-2017, 03:36 PM
Knightwalker
    Thread: CI Forum - get_where function for forum and topics
Post: CI Forum - get_where function for forum and topics

Hello, can i get a little help with the get_where function? how can i use the function in order to make an SQL which looks like this: $sql_categories_classic = "SELECT * FROM forums WHERE forum_id ...
21,011 Views
25 Replies
12-28-2017, 01:00 PM
Knightwalker

Theme © iAndrew 2016 - Forum software by © MyBB