Welcome Guest, Not a member yet? Register   Sign In
How to access more than one table in the same model
#3

(This post was last modified: 05-21-2023, 04:56 AM by Corsari.)

Uh-Oh
Thank you for the gentle and prompt reply
I'm so sorry, I discovered right now that I had an error in my original code and (unbelievable) I have fixed it pasting and tidying the query code here in the thread
sorry again
Yes the code is fine,  I mean ,  running it , no errors (now I have wrong joins but that is another story)
Originally I had errors telling the others tables were sort of unknown that is the reason for the thread. So it was looking to me that the Model was allowing the access only to its associated table and not to 'dept' and 'post' ones.
Thank you for your overview.
P.S.
It would be great a new chapter in the guide to be called "Developing With CodeIgniter Best Practices", maybe right after the Tutorial
Anyway the guide is super.

Instead it would be great a tutorial for the new authentication applied to e.g. a blog or forum management or something like that

So with admin, staff and users
Reply


Messages In This Thread
RE: How to access more than one table in the same model - by Corsari - 05-21-2023, 04:43 AM



Theme © iAndrew 2016 - Forum software by © MyBB