tommyda Posted November 11, 2007 Share Posted November 11, 2007 I know its going to be something small but i cant find it please help Error is on line 12 This is the code from lines 12 and 13 line 12 $id = $row['casino']; line 13 if($id == '0'){die'Not found';}; When i remove the code from line 13 it works Link to comment https://forums.phpfreaks.com/topic/76881-solved-unexpected-t_constant_encapsed_string/ Share on other sites More sharing options...
toplay Posted November 11, 2007 Share Posted November 11, 2007 if($id == '0'){die('Not found');} Link to comment https://forums.phpfreaks.com/topic/76881-solved-unexpected-t_constant_encapsed_string/#findComment-389239 Share on other sites More sharing options...
Daukan Posted November 11, 2007 Share Posted November 11, 2007 if($id == '0'){die'Not found';} To if($id == '0'){die('Not found')} Link to comment https://forums.phpfreaks.com/topic/76881-solved-unexpected-t_constant_encapsed_string/#findComment-389240 Share on other sites More sharing options...
tommyda Posted November 11, 2007 Author Share Posted November 11, 2007 Thank you Link to comment https://forums.phpfreaks.com/topic/76881-solved-unexpected-t_constant_encapsed_string/#findComment-389241 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.