0

The problem :login patient update location, date, check test status.Can someone check this code.

https://code.sololearn.com/cMOZclyoZ2EN/?ref=app

12th Jan 2021, 4:32 AM
MOHAMMAD ZAHID
MOHAMMAD ZAHID - avatar
4 odpowiedzi
+ 1
Try to make the code more modular by breaking the code into multiple functions each of which serves a specific purpose. May it help you to debug with less hassle 👍
12th Jan 2021, 4:47 AM
Ipang
+ 1
Make separate function for regisration & login, also for PUI & KKM personnels. I don't even know what PUI & KKM but breaking large code into smaller parts helps in isolating problem.
12th Jan 2021, 5:14 AM
Ipang
0
Ipang how...i dont know.
12th Jan 2021, 5:09 AM
MOHAMMAD ZAHID
MOHAMMAD ZAHID - avatar
0
PUI-person under investigation KKM-Ministry of health of malaysia
12th Jan 2021, 5:18 AM
MOHAMMAD ZAHID
MOHAMMAD ZAHID - avatar