have you declared the variables as global int eh function? eg
function foo($bar) { global $this, $that, $theOther; [...] } that way $this, $that and $theOther variables are available everywhere HTH Beau // -----Original Message----- // From: James Kupernik [mailto:[EMAIL PROTECTED]] // Sent: Wednesday, 5 June 2002 9:35 PM // To: [EMAIL PROTECTED] // Subject: [PHP-DB] values across functions // // // I have a file, it's a shopping cart. Currently is contains // all the fuctions // required in the cart, including the shipping and billing // form. It won't take // the values from the shipping form and use them in the functions that // calculate the tax and S & H. Why would this be? I've gotten // other variables // to transfer, just not these. // // Thanks // // // // -- // PHP Database Mailing List (http://www.php.net/) // To unsubscribe, visit: http://www.php.net/unsub.php // -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php