Hello again, my dear fiends. So after understanding, how to order data from database in Foreach loop...
Hi, I'm new to Laravel and I really like it so far. I'm having some trouble with a multilingual data...
I Use the following code for Saving a model(Car model) wich belongs to another model (Brand Model) a...
Hello everybody I have three tables for implmenting role based access control system: -users -roles...
Hi, this is my category model <?php class Category extends \Eloquent { protected $fillable = []...
I originally coded my application completely omitting models and just using raw queries in my own ty...
I am currently storing files in my mysql table. I have no problem saving large files in the table as...
I read some posts about database seeding. I find the seeder's 'run' method begin with DB::table()-&g...
$student = Student::find(20); foreach($student->classes as $student_class) { if($student_c...
Hi to all. New forum is great.! I am about to begin a large scale application built on laravel 4 and...
Hi, I am having trouble to insert record in DB, here is my code $member = new User; $member->user...
Hey, i ran this script: $names = DB::table('Accounts')->get(); foreach($names as $name) { $name-&...
I reckon that using Postgres with Laravel produces weird results with nulls. Check out the error mes...
I have a view that show the registered users data from database. I need to have a button that create...
Hey, i need to know how to make a query to display all the data from a table. For example i have <...
I'm currently using the schema builder to create a database. The only thing I'm missing is a method...
Hello! I am having some trouble to dynamically update records on my database. I need to synchronize...
I have a database table for "roles" and for "permissions", and I need to seed th...
I would like to know how to make a query MySql to laravel controller: My MySql query like: (SELECT c...
Hey, i have a question: how can i make a query, and use results like this: Query::user()->Name
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community