256 Kilobytes

Server-Side Answers > Laravel

Type AnswersAsk and answer questions, if that is something that you want to do. Category Server-SideDiscuss server-side development, such as PHP. Tag Laravel

Profile Photo - August R. Garcia

[Solved] Automatic Copyright Footer Dates in Laravel/Basically Vanilla PHP

Answers in Server-Side | By August R. Garcia

Published | Last Update

Profile Photo - August R. Garcia

The only part about this that isn't vani...

MoreThe only part about this that isn't vanilla PHP is using {{ $var }} as shorthand for <?= htmlspecialchars($var); ?>. <style> .footer...
🗨 0
🐏 0
👁 720
Profile Photo - August R. Garcia
Profile Photo - August R. Garcia

TL;DR: Use $GLOBALS

MoreThe Laravel caching functions seem to not have specific built-in functionality to cache a query for only the current pageload, but it can easily be do...
🗨 0
🐏 0
👁 657
Profile Photo - Some Guy
Profile Photo - August R. Garcia

Last ReplyOne option is to use a for loop:<div class='user-list'> @for($iii=0; $iii < sizeof($users); ++$iii) <div class='a... August R. Garcia,

One option is to use a fo...

Sun, 02 Dec 2018 03:49:39 -08003 years ago1
🗨 1
🐏 0
👁 421
Profile Photo - Some Guy

What is the term used to refer to a double colon in PHP?

Answers in Server-Side | By Some Guy

Published

Profile Photo - August R. Garcia

Last ReplyThe scope resolution operator.Or, apparently "Paamayim Nekudotayim"Docs:http://PHP.net/manual/en/language.oop5.paamayim-nekudotayim.PHP August R. Garcia,

The scope resolution oper...

Sun, 02 Dec 2018 03:46:58 -08003 years ago1
🗨 1
🐏 0
👁 452