Originally posted by theeper
Depending on your version of PHP, you may have to access your variables like this ...
$_GET["var1"]
I dont think I have a problem Getting the values, the problem is where I assign them.
You see, this is the code I have in my <tr> and IFRAME.
:: <tr> Segment in function xyz() in mainFile.php
function xyz()
{
global $fday, $lday;
for(....)
{
<tr onMouseover="this.bgColor='#9999FF'"
onMouseout="this.bgColor='#000000'"
onClick="frames['internal'].location.href='test.php?
fday=$fday&lday=$lday'">
for(....)
{
... <td> // first day of week
$fday = here is where I assign the value
...
...
...
... <td> // last day of week
$lday = here is where I assign the value
...
}
</tr>
}
}
:: IFRAME Segment in mainFile.php
<IFRAME SRC="test.php" NAME="internal" WIDTH=775 HEIGHT=800 ALIGN=right></IFRAME>
Note: I am not passing the values in IFRAME initial load.
[/COLOR]
[/SIZE]
I have also initially tested the mainFile.php page to display all the results I want in the same page. So, the variables does hold the value upon opening the page. But it is somehow not able to retain it to send it to test.php, when the onClick in <tr> has been triggered. Any ideas ?