Hi,
When we are going to refactor the huge php file which contains mix of html tags and php code  like server_privileges.php script. And html tags are printed by php in this script, what is the best way to refactor. I somewhat confused about that. Is it good to separate html and php tags and implement several functions? I like to see the suggestions.

--
Regards.

Thilina Buddika Abeyrathna,
Department of Computer Engineering,
Faculty Of Engineering,
University of Peradeniya,
Sri Lanka.