RE: [PHP-DB] Parse error

From: Date: Thu, 21 Feb 2002 14:41:25 +0000
Subject: RE: [PHP-DB] Parse error
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-17132@lists.php.net to get a copy of this message
try: <? $origVar = 100; echo "<P>Original value is".$origVar."</p>"; $origVar += 25; echo "<P>Added a value, now it's ".$origVar."</p>"; $origVar -= 12; echo "<P>Subtracted a value, now it's ".$origVar."</p>"; $origVar .= " chickens"; echo "<P>Final answer: ".$origVar."</p>"; ?> Cami -----Original Message----- From: Jennifer Downey [mailto:jendowney@attbi.com] Sent: Thursday, February 21, 2002 2:33 PM To: php-db@lists.php.net Subject: [PHP-DB] Parse error Can someone tell me why I am getting a parse error in this little snip? <? $origVar = 100; echo "<P>Original value is $origVar</p>"; $origVar += 25; echo "<P>Added a value, now it's $origVar</p>"; $origVar -= 12; echo "<P>Subtracted a value, now it's $origVar</p>"; $origVar .= " chickens"; echo "<P>Final answer: $origVar</p>"; ?> Thanks in advance Jen Downey -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.db (#17132) next »