On 11/26/05, Todd Cary <todd@xxxxxxxxxxxxxxxxxx> 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 interms of rapid coding but bad if you ever get a graphic/web designerto redo your designs 'cause he or she will be all (!!) at your phpcode. -ahmed -- -ahmed