Posted by Matt on 10/12/96 11:41
calvinwohobbes@gmail.com wrote:
> Ok, I made a wayyy too complicated reply before.
>
> Let me try to explain it from my understanding.
>
> inside topmenu.php
> this works
> //////////////////////////////////////////////////////////////////////////////////////////
> <form action="topMenu.php" method="post">
> <input type="checkbox" name="year_answer" value="Year"> Year
>
> $year_answer = $_POST[year_answer];
> if ($year_answer == 'Year')
> /////////////////////////////////////////////////////////////////////////////////////////
> That's how i use the check box in topmenu
>
>
> the code i have in gamelist.php is this
> /////////////////////////////////////////////////////////////////////////////////////////
> $year_answer = $_POST[year_answer];
> if ($year_answer == 'Year')
>
> and that will also work given i use this code in topmenu.php
> <form action="gamesList.php" method="post" target="mainFrame">
> <input type="checkbox" name="year_answer" value="Year"> Year
>
> /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
> So what i want to do is something like... <form action="topMenu.php"
> AND action="gamesList.php" ...
>
> How can i do this?
>
> thanks,
> Calvin
>
i think you're just going to have to have one file include the other.
Then the same $_POST'd array will be available to both
Navigation:
[Reply to this message]
|