On 11/26/05, Todd Cary <[EMAIL PROTECTED]> wrote: > /* Input a field */ > function input_field($name, $value, $size, $max) { > echo('<INPUT TYPE="text" NAME="' . $name . '" VALUE="' . $value . > '" SIZE="' . $size . '" MAXLENGTH="' . $max . '">'); > };
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 redo your designs 'cause he or she will be all (!!) at your php code. -ahmed -- -ahmed