RE: [PHP-DB] Parse error
| From: | Gurhan Ozen | Date: | Thu, 21 Feb 2002 14:46:34 +0000 |
| Subject: | RE: [PHP-DB] Parse error | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17133@lists.php.net to get a copy of this message | ||
Hi Jenn,
The code looked ok to me , so I copied and pasted the code you posted and it
worked for me.. Where are you getting the parsing error? Is it the whole
code anyway?
Gurhan
-----Original Message-----
From: Jennifer Downey [mailto:jendowney@attbi.com]
Sent: Thursday, February 21, 2002 9:33 AM
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