[snip]I am getting everything except the 3 variables($admin,$site,$lic), heres my function:
******************* include_once('PRO-Config.php'); echo $admin; // This was a test to see if I am getting the value from the include..I am.
function sendEmail() {
Admin: $admin Site: $site Lic no: $lic
variable scope, variable scope, variable scope.
$admin does not exist inside the function unless you pass it or make it global.
-- ---John Holmes...
Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
php|architect: The Magazine for PHP Professionals – www.phparch.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php