V userdata patient id: int(11) @staff : text @barcode : text datetime: timestamp datetimeend: timestamp
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
V userdata patient id: int(11) @staff : text @barcode : text datetime: timestamp datetimeend: timestamp
patient by scanning its bar code. The function of this screen is to send
the bar code and staff from which the patient was entered to the server
through (API). The required task:
Create a PHP page that receives the barcode and staff.
- Ensure that the barcode is present in the userdata table.
- If the barcode is present in the table before, check the datetimeend
field. If it is an empty value, the present server time is added in the
datetimeend field and a new rows is added with staff and barcode.
- If the barcode did not exist before, the information is entered in a
new rows : staff and bar code.
database info :�user info :�localhost�user : ibraheem�pass: d2841962
V userdata patient id: int(11) @staff : text @barcode : text datetime: timestamp datetimeend: timestamp