Force variables to add

From: Date: Sat, 08 Jan 2000 19:37:51 +0000
Subject: Force variables to add
Groups: php.general 
Request: Send a blank email to php-general+get-33286@lists.php.net to get a copy of this message
I have 2 variables, and I want them to add with each other. But all I get is the first variable and then the second variable. Here is and example: ------------------------ $var1 = "2"; $var2 = "3"; $var3 = $var1 + $var2; echo "$var3"; OUTPUT = 23 ------------------------ Does anyone know how I can forces them to add? Thank you, -------------------------------------------- Brandon Orther WebIntellects Design/Development Manager brandon@webintellects.com 800-994-6364 www.webintellects.com --------------------------------------------

« previous php.general (#33286) next »