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. Quote 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.... Quote 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 Quote 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. Quote 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 =\ Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.