Posting in Database comes with unwanted quotation marks

I'm currently facing a weird case in Laravel where I input something to the database, but stores it with unwanted quotation marks. Keep in mind I'v...
08

SQL query

Hi all I need to query a table with a value that is between the value of two columns e.g. $record = table_1::where([['column_...
17

Why my PHP array is null

My code is the following; $dirtyElements = array(); $collection = $items->each(function ($item, $key) use ($dirtyElements) {...
02

Erro na URL do Woocommerce

Olá, gostaria de receber ajuda para solucionar o problema apresentado na url deste site:...
00

Vanilla PHP

I'm a paying Laracasts subscriber but I'm not sure whether I'm allowed to ask vanilla php questions here? Since Jeff did do a PHP Practitioner I'll...
04

class confusion

Ok, really new at Laravel but so far I like it. I have a page, forum.blade.php that I am calling how many replies there are to a discussion and get...
05

Charactor encode is not working

I have inserted Chinese characters to database in (◎實習計畫說明: <br>透過專案的執...
00

Vue without components with laravel problem ?

I am developing a web apps using laravel 5.6. I want to use vue2. I have several controller with functions(view). Most of the view needs simple js...
00

Interface Help

Hey So I'm working on a slightly tricky problem right now. Basically I have an Application file which is handling logic to upload files to a...
00

sortByDesc() not Working as intended

I have this 2 functions, the problem is that when i use the función sortByDesc, the new collection $clientes is not sorted as it should, if you ne...
06

Uploading .zip file wont validate hasfile(), or contain any real data

Hey! This leaves me very much confused... Im working on a function for uploading .zip files, but the request file always seems to be "e...
03

snake_case or camelCase

So lately I have been wonder which one is the "Standard" for the Laravel frame work for variable names, since PSR-2 doesn't specify which...
06

Composite Primary Key - Unique Constraint Failed

I'm missing something. I run a test checking that values are being inserted into a pivot table and get the following error: Int...
08

Can't change app default language

After a lot of struggling I coudln't change app's default language. What I have done: change locale attribute in config/app.php to:...
13

Querying 2 or more tables with joins or eloquent relations. Which is better?

I have few tables that store the details of educational content within a school. Tables' descriptions viz. A grades table stores all grades, subjec...
01

How to implement an external API into Laravel

Hi, guys! I’m working on a Laravel app based on the video game Fortnite while trying to learn more about PHP and structuring projects....
03

Improving Names For Test File

Any suggestions on the naming of my test cases or how I can refactor my tests. I'm also trying to figure out how to modify the a_title_match_...
01

Variables refer to the same value

Hi all, I have database with lessons, which are translated in English and German. In the database I have two columns - one for English and o...
05

How to write code in laracast?

I want to write code that cleanly. So nice views. How can I do that?...
39