The value of \$v01 is $v01.

"; $v01 = $v01*$k; print "

The value of \$v01 is $v01.

"; $v01 = $v01*$k; print "

The value of \$v01 is $v01.

"; /* Some common operations with numbers + addition - subtraction * multiplication / division % modulus ++ increment -- decrement */ /* We can dynamically modify text/strings too. One commonly used operation is concatenation. */ $first_name = "Chris"; $last_name = "Fraley"; $full_name = $first_name . $last_name; print "

My full name is $full_name.

"; /* We can concatenate multiple things together--including non-variables. Here we join one variable with an empty space, which, in turn, is joined with another variable. */ $full_name = $first_name . " " . $last_name; print "

My full name is $full_name.

"; /* Now for the supercool: We can read in variable-value pairs from the CGI data packet (i.e., what the server receives when the person presses the submit button or its equivalent. The general form for this is: $local_variable_name = $_POST['variable_name_in_form']; which, in English, means "Let's create a new variable in PHP ($local_variable_name) and let it equal the value of whatever variable was passed forward that is called "variable_name_in_form". */ $v01 = $_POST['v01']; print "

The value of \$v01 is $v01.

"; // This is empty right now because nothing was submitted. // Let's fix that problem in the next tutorial. ?>