Click here to Skip to main content
15,920,468 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
PHP
Email:<input type="text" name="email" {!!((Input::old('email')) ?  'value="'.Input::old('email') .'"':'' !!}>



I am getting error because of this code. Can someone tell me whats the error?
Posted
Comments
ankur1163 13-Dec-15 3:35am    
This is the error I am getting

FatalErrorException in 077b19bf27b2c4df6de1e5b07ae00fc9 line 6:
syntax error, unexpected ';'

1 solution

You have a missing closing-parenthesis...
Break it down to see:
PHP
{!!
	(
		(
			Input::old('email')
		) ?  
		'value="'.Input::old('email') .'"':'' 
	// here a missing parenthesis
!!}
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900