I am a PHP beginner so this error may be a stupid one. Anyway, I'm trying to write a simple addition script. The client enters two numbers, then my script (adder.php) adds them. However, when the script is run, I get "Parse Error On Line 3" I have no idea exactly what I have done wrong. Here is the script.
<? print ("Your first number is:$firstnumber\n") print ("Your second number is:$secondnumber\n") $answer=$firstnumber+$second number echo ("The answer is: $answer\n") ?> Any help would be greatly appreciated. Thank you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php