@php($var = "whatever")
or
@php
$var = "whatever"
@endphp
When getting data in json
$users = User::all()->json();
In blade template using the data
var users = {{ $users }}
It will return error because the encoding will get code like "
Escaping the data with {{ }} automatically in Laravel 5. Use {!! $users !!} instead.
Google Forms provides a very simple way to create a form to collect and organise information. The form can be embedded into website. The submitted information can be viewed in the response spreadsheet.
If you want to customize the layout to suit your website, Google Forms customization is quite limited. We
Have a great Year of the Horse ahead.
Wishing you a Merry Christmas and Happy New Year
OverAPI have hundreads of cheat sheets on technologies from HTML, CSS, Regex, Ruby, etc.
A simple search, I found Scala Cheat Sheet which provides links the contents. As of writing now, MongoDB is not available. I'm sure more will be added. It provide a full list A-Z of cheat sheets. Definitely
For some unknown reason, the web module application was missing on WebSphere Portal 8. Thus we can't deploy any new portlet applications. The Manage Web Modules, Manage Applications and Manage Portlets are missing. After spending some time with IBM PMR, the solution was to reinstall the application.
At <install_loc>/PortalServer/bin, run the
Using View and Form builder, the input form by default have a simple validation if the field is empty.
I need to check if an input text field already exist in the database.
Let's say I have a text field call USERID. I need to check if there's a same USERID in
After more than 10 years coding, I still learn something new on Lotus.
I need to do some checking on certain value, so regex came into mind. So far I haven't actually used regex in LotusScript. A simple search give me result to use "Like" operator. It function similar with regex,
For Nexus S users, you can get the lastest and greatest Android version 4.1 Jelly bean at XDA. It's a port from Google's Jelly Bean SDK and most of the feature is working.
The feature I wanted to try out most is Google Now. From review found around the Internet, shows that