Move data from a form

0

Good afternoon, I'm new here and also a new "developer, programmer."

My question is:

How do I move information that has been registered through a form, went to a database and a registration page, to another specific page?

Ex:

For example, patient data is collected in the screening, entered into a database and saved to a page of screened patients. Then, that same screened patient may have some information changed after editing. I wanted that after the whole procedure, remove that patient from the page sorted (without losing his database) and move it to another page.

I PLACED IN ANNEX A ILLUSTRATIVE IMAGE OF WHAT I WANTED IN THE PAINT EVEN KKK

THANK YOU GALERA!

    
asked by anonymous 09.07.2018 / 20:17

1 answer

1

To do what you want, that's exactly what I said in the comments, but I'll explain it better:

  • Create a status field, for example, in your database for your patients.

  • When you insert a new patient into the bank, pass with status 1 (in triage).

  • When the screening is complete you pass pro status 2 (out of sorting).

That way, on the screen of the screen, you only list patients who come from the bank with status 1. In the patients page on the other page, you only list patients who come from the bank with status 2.

To "pass" the patient from one page to another, you create a function that will set the patient's status to 2 (out of screening).

And finally, if you want to create a function to "pass" the patient back to the screening, perform a function that changes the patient's status back to 1 (in screening).

    
09.07.2018 / 20:45