nec9716 Posted April 1, 2008 Share Posted April 1, 2008 here what I have: <html> <head> <title></title> </head> <body> <?php bla bla bla ?> <body> <form> bla bla bla // here I try to insert PHP again ...if I remove this php part everything is ok ...but when i paste it I have unexpected $end.. <? bla bla bla ?> </form> </body> <? bla bal bal ?> Link to comment https://forums.phpfreaks.com/topic/99077-unexpected-end/ Share on other sites More sharing options...
rkstevens Posted April 1, 2008 Share Posted April 1, 2008 Double check that all of your curley braces {} match up. Missing a closing brace is an easy way to get the 'unexpected $end' error Link to comment https://forums.phpfreaks.com/topic/99077-unexpected-end/#findComment-506954 Share on other sites More sharing options...
nec9716 Posted April 1, 2008 Author Share Posted April 1, 2008 ok ....I will look that ... I just think about it ...I might try to remove the html part .... but I will try to find out if I miss something thank you Link to comment https://forums.phpfreaks.com/topic/99077-unexpected-end/#findComment-506962 Share on other sites More sharing options...
PFMaBiSmAd Posted April 1, 2008 Share Posted April 1, 2008 Only use a full opening php tags - <?php Your posted example code implies you are using a lazy-way short tag - <? Link to comment https://forums.phpfreaks.com/topic/99077-unexpected-end/#findComment-506964 Share on other sites More sharing options...
nec9716 Posted April 2, 2008 Author Share Posted April 2, 2008 thank for the advise about <?php and <? I will correct that and rkstevens you was right I was missing a "}" .. thank you Link to comment https://forums.phpfreaks.com/topic/99077-unexpected-end/#findComment-506997 Share on other sites More sharing options...
darkfreaks Posted April 2, 2008 Share Posted April 2, 2008 please hit topoic solved Link to comment https://forums.phpfreaks.com/topic/99077-unexpected-end/#findComment-507000 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.