markifornia Posted July 27, 2012 Share Posted July 27, 2012 To name a few, there are some others headers and session variables that I don't even know of. But what really takes precedence when placing functions before an opening tag? Does it matter what order? Best to not leave spaces between the order? <?php header('Content-Type': text/html; charset=UTF-8'); session(); // Some code ?> VS <?php session(); header('Content-Type': text/html; charset=UTF-8'); // Some code ?> Thanks, Mark Link to comment Share on other sites More sharing options...
HartleySan Posted July 27, 2012 Share Posted July 27, 2012 As far as I know, it doesn't matter. Link to comment Share on other sites More sharing options...
markifornia Posted July 27, 2012 Author Share Posted July 27, 2012 cool thanks. Link to comment Share on other sites More sharing options...
Recommended Posts