Re: HTML PHP Presentation and Logic
- From: spkersten@xxxxxxxxx
- Date: 29 Sep 2005 23:06:29 -0700
You could use templates, like smarty. If that's overkill, what I always
is put html-output in seperate functions.
function print_foo($var) {
return '<html />';
}
function foo($a,$b) {
...
print_foo($c);
...
}
.
- References:
- HTML PHP Presentation and Logic
- From: richard . hyett
- HTML PHP Presentation and Logic
- Prev by Date: Re: noob can't even make a function work right :-(
- Next by Date: Re: Call to a member function on a non-object
- Previous by thread: HTML PHP Presentation and Logic
- Next by thread: Convert numbers to letters in frensh
- Index(es):