glassfish Posted September 25, 2014 Share Posted September 25, 2014 There are no opening and closing tags in the code example of the file PostsController.php in this tutorial: http://book.cakephp.org/2.0/en/tutorials-and-examples/blog/part-two.html Should I always use opening and closing PHP tags throughout with CakePHP? Quote Link to comment Share on other sites More sharing options...
jazzman1 Posted September 25, 2014 Share Posted September 25, 2014 Opening - yes, a closing tag is optional. Quote Link to comment 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.