c-o-d-e Posted November 19, 2009 Share Posted November 19, 2009 Parse error: syntax error, unexpected $end in C:\xampp\htdocs\resend.php on line 245 You can see the hosted page on.. http://www.developers-community.com/resend.php Yet on Localhost (XAMPP) I recieve the Parse error. Why does this happen? I've tried an extra "}" and taking a bracket away, and nothing helps, I've checked for open brackets, and none were open. Link to comment https://forums.phpfreaks.com/topic/182161-solved-unexpected-end-only-appears-in-xampp-yet-not-on-my-paid-host/ Share on other sites More sharing options...
premiso Posted November 19, 2009 Share Posted November 19, 2009 Hard to help without seeing the code.... Link to comment https://forums.phpfreaks.com/topic/182161-solved-unexpected-end-only-appears-in-xampp-yet-not-on-my-paid-host/#findComment-961079 Share on other sites More sharing options...
PFMaBiSmAd Posted November 19, 2009 Share Posted November 19, 2009 Change all your short open tags <? and <?= to <?php and <?php echo Link to comment https://forums.phpfreaks.com/topic/182161-solved-unexpected-end-only-appears-in-xampp-yet-not-on-my-paid-host/#findComment-961080 Share on other sites More sharing options...
c-o-d-e Posted November 19, 2009 Author Share Posted November 19, 2009 Sorted the problem. Most of my tags were <?php Just the odd few I have not changed yet. Thank you. Link to comment https://forums.phpfreaks.com/topic/182161-solved-unexpected-end-only-appears-in-xampp-yet-not-on-my-paid-host/#findComment-961083 Share on other sites More sharing options...
premiso Posted November 19, 2009 Share Posted November 19, 2009 Change all your short open tags <? and <?= to <?php and <?php echo I never knew the PFR's had psychic abilities =\ Link to comment https://forums.phpfreaks.com/topic/182161-solved-unexpected-end-only-appears-in-xampp-yet-not-on-my-paid-host/#findComment-961089 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.