Here is the error:
syntax error, unexpected token "=>", expecting ")"
And here is my code:
{{Form::open (array ('url' => 'logincheck'))}}
<p> {{Form::text ('username', string ('placeholder'=>'Username','maxlength'=>30))}} </p>
<p> {{Form::password ('password', string('placeholder'=>'Password','maxlength'=>30))}} </p>
<p> {{Form::submit ('Submit')}} </p>
{{Form::close ()}}
Change the
string(... toarray(...I recommend you use the short array syntax like that: