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 (se…
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 ori…
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 choi…
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 Ai…
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 informat…
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.
Could you suggest how to deal with this Apache error, obtained from apache_error.log ?
I get this when running a Laravel app that perfectly runs when using php artisan serve…
Hi - I have the below code for text box in the webpage.
Now when ever i enter the data with line breaks and click save, the format is missing when i come back.
In the text box i entered b…
How to find /read Apache log error file ?
I have this Apache server error when running a Laravel's app
Going to Apache logs folder
It's completelly unreadble...
I am using Laravel and I have a long list of fields to insert.
Then I have that same list again under the update section
The only part that is different is the first and last,
$tuition = …
After some research I'm considering to start working with Laravel, I'm presently using Codeigniter.
Is it a hard step?
As I read Laravel uses "Ruby on Rail" productivity features i…
I am trying to set up instead of viewing the 'whoops' page, i want my users to see a custom page.
so I put this on my error page.
It works sometimes, but now I just got this error, still with …
- We are currently using Symfony2 for our developments.
- We plan a major redesign of our main application.
- I'm afraid that Symfony performance (speed, memory) is really bad
- So I'm exploring ot…
I am having trouble with my laravel/homestead/vagrant installation on mac osx. I believe everything is installed correctly (and have done multiple installations) but whenever I try to l…
As the title says really. I've setup a route in a Lumen project to look for a PUT request to a particular URL, however when I use Postman to try to access the URL I'm seeing the following 403 Forbidde…
I am trying out laravel with MSSQL for the first time.
I installed the neccessary 'SQLSRV' drivers.
I was able to use migration to create a new table to my database.
Then when i am trying to sele…