$max) $error = $errors[$tag] = "Too long ($max character maximum)"; if (strlen($value) == 0 && $tag != 'phone') $error = $errors[$tag] = 'Required field'; $value = str_replace('<', '<', $value); $value = str_replace('>', '>', $value); $value = str_replace('"', '"', $value); return $value; } function echoInput($label, $type='text', $placeholder=false) { global $submitted; global $error; global $errors; global $values; $rawTag = strtolower($label); $tag = '"' . $rawTag . '"'; $type = '"' . $type . '"'; $rawValue = $values[$rawTag]; $value = '"' . $rawValue . '"'; if ($placeholder) $placeholder = 'placeholder="'.$placeholder.'"'; if ($submitted && !$error) echo " $rawValue\n"; elseif ($type=='"textarea"') echo " \n"; else echo " \n"; if (array_key_exists($rawTag, $errors)) echo ' '.$errors[$rawTag].''."\n"; } ?>

Contact Mike Gobbi

There was error sending your message. Please try again later.

Thank you! Mike will respond to your inquiry as soon as possible.