I'm creating pagination manually for results using Eloquent ORM. The pagination works fine except it's defaulting to display only back and next buttons (simplePaginate()) rather than back, next and …
I'm using Laravel and the Eloquent ORM, I seem to be having a strange issue not being able to call static methods on an eloquent object. I keep getting the error below;
BadMethodCallException in …
I like learning object oriented php
I know I can use command line php but if a client is paying me; client usually wants …
I've attached a pic thinking that may be the best way to illustrate my challenge.
At the end of each day a dealer will submit how many vehicles they sold for the day into our system.
I am keeping a record of days a store is closed for the year ie:
So I'm using multi-datepicker which allows me to select closed days for the …
Could you point how to call an Angular view from inside an Angular controller?
Angular View's code:
When using Laravel when is better to use Alias and when is better to use Virtual Hosts?
At first sight the final result is the same. Conceptually what's the difference?
Could you point a good Laravel/ Angular JS demo project (CRUD f.e.) that you know runs correctly ?
Thanks in advance
Since company is going to migrate to Laravel some doubts arises.
Eloquent and Doctrine are ORM(s) that came in the Laravel's instalation, ok?
So, it seens to be intechangeable... …
This is a conceptual question I need to be cleared, as possible. I'm afraid it's to much extense.
Next project probably will use Laravel/ Angular JS/REST. Actually it's been used …
I'm trying to put together a query that as part of the select, it takes the datetime stamp that the row was added and todays date and returns the number of days that have passed.
I'm using Laravel and keeping track of recently viewed item ID's in a 'recent' array.
To store them I use: Session::push('recent', $id) when a user visits an item details page.
I cant make this code work, I'm using the simple dom scrapper, it should
1. grab all current live urls
2. use the simple html dom to find a set div on the page
3. grab the text within that…
Trying to create a variable value to use further down in my code. I'm not sure how to express this properly. Currently I get an error:
Syntax error, unexpected ','
How do I get around that?
I have an array ( vehicle demo license plates that the dealer has in-store) that is submitted via a form (1st one below) and I'm trying to compare it to the results of a query out of laravel …
I have an array I'd like to insert into a table. I'm using laravel 5 and Query Builder.
$saleHours array looks like this:
I've tried a few ideas like:
I am a simple form with a few field displaying a person's contact information and when they edit it, I send the information out with ajax, is there a way with laravel that I can track what was the …
I am obviously very challenged with objects/arrays and am having another issue that I've tried about a thousand combinations to make work but still not working.
My goal is to populate a select…
my code worked fine but has suddenly died
I get this error
Call to a member function format() on a non-object
Please help thanks
I have a select list that is populated by the result in a query.
The result is 'Car'
so 'Car' is shown in the select menu. Thats fine.
Problem is I'd also like to show the other …
I'm in laravel, working on retrieving a record of a vehicle. Within the record is a column 'vehicle_options' which saves the options of a vehicles like this:
["Driver Side Air Bag","Passenger …
I have a where clause I'm trying to insert that is conditional. I get a syntax error: "unexpected 'if' (T_IF)".
Not sure how to write this?
Im trying to learn about Laravel Forge and wanted to know if you know of any comparable products that I could read about?
Could you explain how to create a Linux virtual server to use Laravel on the WEB ?
I intend to put a Laravel site developed and running at localhost on the web.
Accordingly to …
Could you point what configuration is probably preventing a Laravel site to work in web?
I developed a simple Laravel app in localhost.
I intend to test it under prodution.