I am a beginner in php
I have some questions about how to highlight the php syntax to the browser, I have tried by using the highlight_file($file) and highlight_source($file), but it just requires us to save the file that we want to display, so what if I want the php code just stored in the database and display it to the browser without having to save the file.
So wait...
You want an Editor that can highlight PHP Syntax that your working on? (I use PSPad)
Or
You want to create code, that will automatically highlight posted PHP script (like in that example you linked to)?
__________________
Please login or register to view this content. Registration is FREE My personal website
-Jaryth (UID590)
Wait... Was your question how to write php code on this forum (like the above suggestions) or how do accomplish that on your own site? I thought it was for your site.