Re: Separating HTML code from PHP code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don Don escribió:
Hi all, i am building a system using php and am trying to separate the html codes from the php codes (i.e. placing them in separate files), I am from the java struts/spring background and seem to be finding it difficult doing that at the moment with php.
I've got a registration form in html with the action pointing to a separate php file that will process the form when submitted. when i want to output errors or messages, its currently being outputed in the resulting code generated by the php file. What i would like is to return to the html page and display the messages there. Can someone help me with ways of doing this pls ?

Use a template engine, like HTML_Template_IT, or if you want some compleity in your system chack smarty.

--
select 'mmarques' || '@' || 'unl.edu.ar' AS email;
---------------------------------------------------------
Martín Marqués          |   Programador, DBA
Centro de Telemática	|     Administrador
               Universidad Nacional
                    del Litoral
---------------------------------------------------------

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux