armlocker Posted November 6, 2012 Share Posted November 6, 2012 Why was there no closing PHP tag at the end of the form_functions.inc.php script? Link to comment Share on other sites More sharing options...
Jonathon Posted November 6, 2012 Share Posted November 6, 2012 From memory, many of the .inc scripts don't have a closing tag as they included and php is closed later on in the page that includes the included file. Link to comment Share on other sites More sharing options...
Edward Posted November 6, 2012 Share Posted November 6, 2012 It prevents the headers already sent php error message that's why they are omitted. Zend recommend leaving them out on included files e.g functions and classes. 1 Link to comment Share on other sites More sharing options...
armlocker Posted November 15, 2012 Author Share Posted November 15, 2012 thanks guys - much appreciated Link to comment Share on other sites More sharing options...
Recommended Posts