hello
what i want to do is i sql select statement to select drugs prescribed by a doctor against checkboxes probably 6 or more prescribed by a doctor to a patient. so if a pharmacist enters the patient id all prescribed drugs will be shown against a checkbox and patient id. so if pharmacist is able to supply 1 or more of the prescribe drugs that checked drug should be deleted from the frontend and entered into a new table as a backend. can you help me with coding and advice. i will be much greatful
for example if i have the table below( as front end)
field1 field2 field3 f ield4
1111 para dewormer vitamin c
field i contains a unique id and if field 2 or field 3 is checked it should be able to delete only that column into a new table so that field 1 and field 4 will be left.
the new table should look like this🙁now the front end)
field1 field2 field3 field4
1111 <deleted> <deleted> vitamin c
And the two deleted drugs will be sent into a new table as backend etc