Page 1 of 1

Passing values using $HTTP_POST_VARS[RESOLVED]

Posted: Tue Dec 07, 2004 10:23 am
by dalai
hi all, im having a prob with $HTTP_GET_VARS
im using this

Code: Select all

<?php 
foreach ($HTTP_POST_VARS as $key=>$value )
&#123;
print "<b>$key</b> &nbsp;=&nbsp; $value<br>\n";
&#125;
?>
i keep getting "'property' is null or not an object"
on the recieving page, i know its a js issue but the calc script works on the form if you dont send it anywhere, basically the submit buttons calls a function to calculate a value it does this on the page, but i then want to send all the values to another page for formatting as a report.

http://www.iht4ifas.co.uk/ihtcalc.php

just put a value in the main property field and a lower value in the mortgage field, hit calculate...
at this point the scripts fine, but then click on the next link to the left of calculate, this is where the error comes

any help is appriciated.

Craig