Hi, I am 12+ years experienced full-time PHP/Java freelancer previously worked for companies like HP, Manhattan Associates, Home Depot etc.
I can able to understand the code posted by you. Few notes about the same,
1) This account class is a data access object based on its constructor and its super class.
2) By default, account ID is set to 0 by the constructor and will be changed by calling signin function if email, password validation logic succeeds.
3) The signin functions take email, password arguments. First, it will fetch MD5 key from users table by email then we will use this key to parse the password. With this email & password we will again query the users tables and get the account id. If a record exists we will set the global accountId with retrieved value.
Please find my complete skillset,
PHP, Laravel Framework, HTML5, CSS3, JavaScript, AngularJS, JQuery, Java, JEE, Spring Framework, Hibernate, JMS, JUnit, Mockito, Oracle, MySQL, SOAP/Restful Web Services, Maven, Docker
I have designed and developed internal enterprise level PHP/MYSQL applications for companies like Concentrix Corporation, Inspiredge IT Solutions and Unique Performance.
I have also developed/enhanced many PHP based websites (Few samples are [login to view URL], [login to view URL], [login to view URL])
Thank you in advance for your time and consideration. Feel free to contact me during any stage of your project. I am here to assist!