HTML: MixedEval
John Dickinson (contact me)
Allows the coder to parse a string containing a mixture of php and html. The string is split into php and html sections. Each php section is evaled, while the html is displayed as is. I have also included a web based editor that makes use of the MixedEval class. The editor may be helpful for learning php. It allows the user to create a variable number of textareas, each of which can contain mixtures of php and html which, on submit, are parsed and displayed. Some error handling and feedback is also included.
Click here for detailed information about this class on phpclasses.org