function valid_textfield($text)
{
if (preg_match('/[a-zA-Z \'\-]$/',$text))
return true;
return false;
}
function valid_textarea($text)
{
if (preg_match('/[a-zA-Z0-9 \._\-\!\:\,\;\'\"\?\$\%\&\(\)]$/',$text))
return true;
return false;
}
function valid_email($address)
{
// check an email address is possibly valid
if (preg_match('/^[a-zA-Z0-9_\.\-]+@[a-zA-Z0-9\-]+\.[a-zA-Z0-9\-\.]+$/', $address))
//if (ereg('^[a-zA-Z0-9 \._\-]+@([a-zA-z0-9\-]*\.)+[a-zA-Z]+$',$address))
return true;
return false;
}
function valid_dob($dob)
{
if (preg_match('/^([0-9]{1,2})\/([0-9]{1,2})\/([0-9]{2,4})$/', $dob)) {
return true;
}
return false;
}
e-med Medical Dictionary app.
The e-med Medical Dictionary app
The e-med Medical Dictionary app is now available for free download on the iPhone and Android mobile devices
The e-med Medical Dictionary is a searchable database of medical information that can be used as a starting point for medical enquiries. The app can also be used by anybody to initiate free consultations with the e-med nurse and contains extra functionality for current e-med members.
Compiled over the years by e-med Private Medical Services, the database is intended as a guide for medical inquiry and is not intended to be used as a diagnostic tool. All medical complaints should be referred to a healthcare professional.
Please contact us with any questions or support queries.
e-med is NOT an emergency service. If you need immediate medical assistance, please dial 999 or visit your local A&E department.