Hello, I am trying to query two hasMany relationships, if an id is in the url I would also like to p...
I can get my file name into my database but how do you set the path for the file or image to upload...
Hi there, is there a way to add, update and delete an additional column to an existing Model/DB tabl...
If I use an MVC why can't I put all calls to the database inside my model? I'm watching Laracasts an...
I am using my model to query the database and then check if there are values in my DB and if the rec...
Hi, I need to get a query builder for an Eloquent model, one like returned by Model::where(...), but...
I'm trying to set up eager loading to prevent N+1 queries, but I'm finding that I have to duplicate...
Hello. There's my controller code: $site = new Site; $site->fill(Input::only('name', 'slug', 'con...
I have script: $("#consigneeBtn").on('click', function() { var id = document.getElementByI...
I am extremely confused why I am getting this error: ErrorException (E_UNKNOWN) - Trying to get prop...
Hi, coders! Authorization does not work, bring the class code: function postEnter( ) { $login = In...
Hello, I have two tables in db mt4_users and mt4_trades the realtion btween two tables is login_name...
Hello everybody I had to create a sortable table. I've described my solution here: https://janikvonr...
I have the following situation: Huge application, running with Kohana on a mysql database. Admin pan...
Hi, I need to create a "SET" type column in a table and just found out that schema builder...
So I have my Model setup like this: [code]protected $fillable = array('dragon_id', 'name', 'gender')...
Hi, I'm having a weird error. The following one runs fine on CLI: php artisan migrate --path=workben...
Hello, how to convert after upload image to base 64 in laravel to save in db? upload code here $file...
What is the best way of keeping code tidy. Is there any blogs on this subject? I have read the Larav...
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