I keep getting this error message saying:
syntax error, unexpected 'preg_match' (T_STRING) in
In this line:
Public function isDataValid()
{
return (preg_match('/^[a-zA-Z0-9](5-12)$/',$this->_username) (preg_match('/^[a-zA-Z0-9](8-12)$/',$this->_password)))? 1 = 0;
Can't figure this out. Help