I have situation like this, I want to get value from database(this values used comma delimited) from more than one rows based on month and year that I ...
I have situation like this, I want to get value from database(this values used comma delimited) from more than one rows based on month and year that I ...
I am using phpactive record. To find all data from one table I am using like below $groups = GroupModel::all(); echo "<pre>"; print_r($groups ...
I'm currently in the process of replacing a self-made hack-y MVC approach's Model component with php-activerecord. I have a separate page that display ...
I am working in a legacy system that uses row() plus limit() to get one result. I didn't understand why, because row() already give me one result, but ...
I have so many combinations of conditions that could possibly go into a db call that I can't possibly make a separate call for each one. I'd have way ...
I am currently getting the following error in my User model. My model only crashes the program when I add the line below to it. If I remove the ...
So I have just gone through a update going from CI 2.0.4 to 3.1.4 and ran into the issue with Sparks now being redundant I've had to move onto compose ...
i just get php active record or eloquen from laravel running on codeigniter. first attempt create model it's run well, but after that i got this follo ...
I have a file index.php and in the same level I have a folder called models where I have my user model User.php I am trying to user php active-record ...
I'm having a table whith 'id' as pk of type int. When I'm doing the folowing mysql query in php activerecord Location_cat::find_by_sql("select concat ...
I need to make some redirects for some products which has been deleted from database. I get the product from database this way: and I want to crea ...
I got 2000, 1066, Not unique table/alias: 'category' this error. I very well know what the issue. My Code : genrate below query I need to use a ...
Above query statement for View is not working. Below error occurred. Below query statements for Table is working. (same) I don't know why this ...
I am trying to achieve something that should be simple but seems impossible in PHP ActiveRecord. In the simplified example I created, I have two mode ...
I have three tables, and I am using members to find all the tasks they have completed. if I call $tasks = $member->myTasks() I can retrieve ...
I have a database setup with a students table. The students table has a one to many relationship with a few other tables. ie a student can have multip ...
I'm trying to update the user details table using php activerecord but everytime I get this error ::save() cannot be invoked because this model i ...
According to the documentation here (http://www.phpactiverecord.org/projects/main/wiki/Finders) There is a way to find records in the database like s ...
I'm using php-activerecord for a short while now and i absolutely love it. Php-activerecord is an open source ORM library based on the ActiveRecord pa ...
I'm using php-activerecord for a short while now and i absolutely love it. Php-activerecord is an open source ORM library based on the ActiveRecord pa ...