i am having a problem with retrieving a variable...
here is the first page. the variable i try to pass is $id.
<form method="POST" onSubmit = "window.open('inquiry.php', 'tinyWindow','width=600,height=400,resizable=no');">
<p align="center">
<input type="hidden" name="id" value="<?php echo $id?>">
<input type="submit" value="Send Inquiry" name="B1" style="font-family: Verdana; font-size: 10pt; color: #000080; border: 1px solid #000080; padding-left: 4; padding-right: 4; padding-top: 1; padding-bottom: 1"></p>
</form>
and here is the page in which i try to retrieve the variable
<?php
$id = $_POST["id"];
echo $id;
?>
however nothing shows up. the code is pretty simple but i dont have any idea about the problem.
can it be related to the java script i use in the firts page?
please help..
Regards...