I have this register page , and i would like to have the script register only lower case letters : pretty I do not want it to register :Pretty , PRETTy , PRETTY ... Here is the code , what do i need to add , or do i change something in the DB ?
Thanks so much for the help !
public function addField($field_name){
if (!array_key_exists($field_name, $this->fields))
{
if ($field_name=='username') {
$field = new field_join_username();
parent::registerField($field);
}
if ($field_name=='email') {
$field = new field_join_email();
parent::registerField($field);
}
}
parent::addField($field_name);
}