Skip to content
Advertisement

Tag: laravel

Laravel :value in another language

Laravel 8 php 7.1 I have a form with some input fields. The form is available in English and German. If you don’t enter something in the German version and want to send it, the following text appears: (In English that means This field is required if the job description is not available. ) How can I replace the job

Undefined constant “page_link” (View: resourcesviewshomeindex.blade.php) In the: “resourcesviews/home/index.blade.php” file at line: 19 [closed]

Closed. This question needs debugging details. It is not currently accepting answers. Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question. Closed 9 months ago. Improve this question Hello i need help in this code Undefined constant “page_link” (View: resourcesviewshomeindex.blade.php) In

Laravel – convert time to user’s timezone in model

I have the following model that returns data from Dynamo AWS, my data has a time in EPOCH, and I convert it to the formatted date as below: However, the time returning does not match the time that the user is seeing the data and that is why I would like to make the conversion using the registration timezone as

Sending mail using Mailjet smtp in laravel 8

I need to send a few mails with my laravel application, and they are not really personalized. I’ve used the markdown mail system in laravel, and everything was smooth for the tests. I had mailtrap setup to catch all the mails, no problems. Now I have to use mailjet to send mails – not to create emails and everything, just

Laravel 8.54.0 + Livewire : Error SQLSTATE[IMSSP] Tried to bind parameter number 2101. SQL Server supports a maximum of 2100 parameters

I use Laravel Framework 8.54.0 and livewire. I want to call data for my dropdown form. But I get sqlstate error. Could anyone help me find a way to solve this issue? Model: Livewire Controller: View: Answer it says you have more than 2100 records so the query should contain all of them in where query!! Well in some sql

Convert multiple php code conditions to an SQL command

I am working on a php project where I need a dynamic column to be part of the sql query result, I have a trips table where each one might have many travels, the trip status is always calculated dynamically according to the several conditions below: I need to convert the function below to an SQL function so that the

Advertisement