I need to build a simple php tutorial for my professor, and i need to display source code on left side of the tutorial frame, and php page on right side, and i need to display the source code in colors. what is the best way to do it? do i have to write the source code into html by hand?
use frames with source on one side and page on the other.
make a copy of the .php file and name it something.phps. reference this file on the source frame.
make sure httpd.conf has the line: AddType application/x-httpd-php-source .phps
Thanks i've tried that but still got problems: all source code (both html and php) nicely showed up in Netscape4.0, but why only php code showed in IE6.0 and they are trunked badly? Also, how to make the code automatically in color (like those in php text editors) when change it into phps file?
I have done some things using frames and recalling source code. I just posted it on the web at http://www.priceville.com/~phpguide/index.htm I was writing it for myself and using it with the PHP manual for reference. You can download to the tarfile at the above address.
It's pretty simple since I'm a newbie and thought you might be able to do something with it.
Wait they make PHP editors? NO WAY! Thats sweet! Sorry just easily amused. Thanks! Chad