For any beginners learning ASP, PHP or other languages, everyone should have had this experience.
Copy the help manual and the demonstration code of a function/object seen on MSDN to your own asp/php page,
then execute it and modify them to deepen your learning impression.
I did the same thing at the time, but I wrote a small javascript program to help myself.
In the text box above, enter the code snippet, and the result will be displayed directly below.
You can also add color to the entered code.
Convenient and fast. I am now reviewing PHP functions and still using it. Now available for download
The following version only supports IE
1.asp version (can highlight the error line in the code) Click here to download (size : 2K)
2.php version (can highlight code error lines) Click here to download (size: 2K)
2.php version 2 (can display source code in color) Click here to download (size: 3K)