Welcome Guest, Not a member yet? Register   Sign In
No PHP end Tag in all files?
#2

[eluser]Bainzy[/eluser]
hi, no this is not a bug the codeigniter framework works like this, im not too sure how myself as iv never really thought about it but most examples on the internet dont show the ending ?> tag neither so dont worry, codeigniter will end the files for you, it is good practice however to add this as the last line in your script :

Code:
# End of file /views/forums.php

its just a simple comments stating what folder the file should be in and the name of the file

example

Code:
# End of file /folder/file.php

hope this helps


Messages In This Thread
No PHP end Tag in all files? - by El Forum - 02-11-2010, 05:57 AM
No PHP end Tag in all files? - by El Forum - 02-11-2010, 06:05 AM
No PHP end Tag in all files? - by El Forum - 02-11-2010, 06:36 AM
No PHP end Tag in all files? - by El Forum - 02-11-2010, 07:19 AM
No PHP end Tag in all files? - by El Forum - 02-11-2010, 09:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB