Model with session only and without database |
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 |
Messages In This Thread |
Model with session only and without database - by StefanKittel - 03-14-2024, 02:24 PM
RE: Model with session only and without database - by kenjis - 03-14-2024, 11:16 PM
RE: Model with session only and without database - by StefanKittel - 03-14-2024, 11:45 PM
|