Embedded text editor??
Posted: Sun Nov 21, 2004 4:36 pm
For a student project I am creating an online php tutorial.
The idea being that there will be an example snippet of php demonstrating what is to be done (perhaps a very basic array) and then asking the user to have a go at coding it themselves.
Is there a way of allowing the user to write and 'compile' the code within the page and not have to use a separate text editor?
Or is this wishful thinking?!
Any thoughts would be appreciated (I am new to php!)...
The idea being that there will be an example snippet of php demonstrating what is to be done (perhaps a very basic array) and then asking the user to have a go at coding it themselves.
Is there a way of allowing the user to write and 'compile' the code within the page and not have to use a separate text editor?
Or is this wishful thinking?!
Any thoughts would be appreciated (I am new to php!)...