hi,
i have a problem in passing the values between pages,
i'm not using session, i just tried to pass them using by embed them in a url.
so, the case is i would like to add a new patient.
in the first.php, i search patient MRid and after get the value, i pass it to the second.php which is used to retreive patient personal data. i pass all the values from first.php and second.php to third.php, and in third.php, i also have a form to search the insurance company. after that, all the data could be inserted to database.
Code:
<form name= "searchPatient" method= "GET" action= "addNewPatient1.php?MR=".<?php echo $ckbxPatient; ?>>
<form action="addNewPatient2.php?MR=".<?php echo $_GET['ckbxPatient']; ?>."&pname=".<?php echo $pname; ?>." method="GET" name= "searchPatient">
<form action="../action/addNewPatientAct.php?a=a" method="GET" name= "profile">
the first and second page works well, but after i click submit button in the third page, the values from the previous page can't be passed, and it's not embedded in the url.
can anyone help me with this problem? thx for your attention
|