Thread: PHP question
View Single Post
Old 05-09-2004, 07:38 AM  
boyw_utr
Confirmed User
 
Join Date: Oct 2003
Location: The Netherlands
Posts: 310
if a var is set in the main page where you include the substract.php you can also call it in substract.

Like for example if $A="100" is set in main before you include the substract.php you can call $A in substract. Just as simple as that..

If you set $A after the include it isn't availble in substract.php

Otherwise you need to make functions an parse the var through the function like this name_function($A, $B);
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
boyw_utr is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote