You need to study more about the php and database when applying for this job. You need to know how the crud works using the php. You are coding for 1 hr and 30 minutes. You also need to study the flowcharts.
There was a lack of professionalism in the interview. They will make you wait for a long time along with other applicants. I think the interview questions are not applicable to the job posting.