Re: [PHP-WIN] Passing Variables and Internal Variables

2003-01-31 Thread cybot
Dash McElroy wrote: You are referencing the variables properly on the first if line, but then you're calling $var1 and $var2 w/o using $_GET. Add that or do this: $var1 = $_GET['var1']; $var2 = $_GET['var2']; You may also want to use !isset($varname) instead of checking to see if the variables a

Re: [PHP-WIN] Passing Variables and Internal Variables

2003-01-29 Thread Dash McElroy
You are referencing the variables properly on the first if line, but then you're calling $var1 and $var2 w/o using $_GET. Add that or do this: $var1 = $_GET['var1']; $var2 = $_GET['var2']; You may also want to use !isset($varname) instead of checking to see if the variables are equal to a space c

[PHP-WIN] Passing Variables and Internal Variables

2003-01-29 Thread Wade
01292003 1540 CST When I run this script I get the html at the end but no $result. If the result is run on the same page as the output, there shouldnt be anything variable wise stopping this from running, right? Wade http://localhost/Learning PHP/PHP Fast & Easy/Ch_6/calculate_form.html");