Separate HTML from the PHP code

Philippe Gondek philippe.gondek at GMAIL.COM
Thu May 19 05:56:19 PDT 2005


Hi list,

I have made any tests with PHP/Mapscript, and I want now to begin with
a good base. I read it's better to separate HTML from the PHP code.
But I don't know how.

Must I have the fucntion in my .php file and call this fucntion in my
.phtml file with the tags <? ?>    ???

Can I have a little example with one function...

Thank you...



More information about the MapServer-users mailing list