![]() |
Hello,
I want to create one model with session only and without database. The other models are needed for database operations. The model should handle some informations in the session. I think a model is more suitable than a controller I remove everything in the model but a soon I call a function in it I get an error: "You must set the database table to be used with your query.". I don't need any type of data behind this model. I could put it in a controller and would be done. But it is wrong there. So how to remove the database for this model only? PHP Code: <?php
Remove " extends Model”.
|
Welcome Guest, Not a member yet? Register Sign In |