Re: [PHP] When to make a class

2005-11-27 Thread Ahmed Saad
On 11/27/05, Todd Cary <[EMAIL PROTECTED]> wrote: > Ahmed - > Been there! What would you suggest? My HTML looks like this if I use this look at http://smarty.php.net -ahmed

Re: [PHP] When to make a class

2005-11-27 Thread Ahmed Saad
On 11/26/05, Todd Cary <[EMAIL PROTECTED]> wrote: >/* Input a field */ >function input_field($name, $value, $size, $max) { > echo(''); >}; A bit away from your OO question, but IMHO, such function good in terms of rapid coding but bad if you ever get a graphic/web designer to re