How to send a table with $_GET or $_POST between php scripts
Posted: Fri Aug 15, 2008 7:38 am
Hi
The following issue has been solved. Thanks to my colleague.
I have to put the parameters after "form action" to be utilized in a next scripts.
-R
Hi
I'm just studying php by coding. I have a following problem. I didn't find a solution from internet.
My intention is to send $_GET table on a next (for 3rd) php scripts. I don't know how. However, I know how the table can be sent if the "form action" isn't in use. My point of view "form action" causes something to $_GET values.
I'm using WAMP tool in my Windows XP.
I have got the text inputs (First name, Family name etc.) to $_GET table in my php scripts correctly by "form action". The inputs can be echoed properly, in this scripts I'm collecting more user data (check boxes etc.) by "form action". The new data (check boxes etc) work correctly but I cannot echoed $_GET values anymore.
How to send $_GET table on 3rd script? 3rd script prints $_GET values and "check boxes". I cannot send $_GET table on 3r scripts correctly. My script "architecture" is presented below.
<?php GetUserData.php ?> This works correctly
<?php GetCheckBox.php ?> This works correctly regarding check box values. User data values can be echoed correctly.
<?php EchoUserData.php ?> I cannot echo the user data collected in GetUserData.php script. $_GET table is "empty".
Thanks in advance,
Rog
The following issue has been solved. Thanks to my colleague.
I have to put the parameters after "form action" to be utilized in a next scripts.
-R
Hi
I'm just studying php by coding. I have a following problem. I didn't find a solution from internet.
My intention is to send $_GET table on a next (for 3rd) php scripts. I don't know how. However, I know how the table can be sent if the "form action" isn't in use. My point of view "form action" causes something to $_GET values.
I'm using WAMP tool in my Windows XP.
I have got the text inputs (First name, Family name etc.) to $_GET table in my php scripts correctly by "form action". The inputs can be echoed properly, in this scripts I'm collecting more user data (check boxes etc.) by "form action". The new data (check boxes etc) work correctly but I cannot echoed $_GET values anymore.
How to send $_GET table on 3rd script? 3rd script prints $_GET values and "check boxes". I cannot send $_GET table on 3r scripts correctly. My script "architecture" is presented below.
<?php GetUserData.php ?> This works correctly
<?php GetCheckBox.php ?> This works correctly regarding check box values. User data values can be echoed correctly.
<?php EchoUserData.php ?> I cannot echo the user data collected in GetUserData.php script. $_GET table is "empty".
Thanks in advance,
Rog