Support the ongoing development of Laravel.io →

mgsmus

Joined 8 Feb 2014

Statistics

Threads 0
Replies 47
Solutions 8
Articles 0

mgsmus has not posted any threads yet

replied 7 years ago

How to use my constants in Larvel

If I were you, I'd use Session instead of constants. Constants are good for constant, hard-coded val...

0 Likes
replied 7 years ago

How to use my constants in Larvel

You can add to composer.json like this: ... "autoload": { "classmap": [...

0 Likes
replied 7 years ago

Weird "Illegal string offset - It exists!!

Can you try this for me: ... 'lesson_id' => isset($lesson['lesson_id']) ? (int)$lesson['lesson...

0 Likes
replied 7 years ago

Weird "Illegal string offset - It exists!!

Make sure that every $lesson item in foreach is an array. $lesson = "Not an array, a string&quo...

0 Likes
replied 7 years ago

Uploaded File(PDF) move as *.tmp file

$filename = 'myfile.pdf'; Input::file('the-pdf')->move('../uploads', $filename);

0 Likes
Solved

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2022 Laravel.io - All rights reserved.