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:[EMAIL PROTECTED]]
Sent: Thursday, February 21, 2002 9:33 AM
To: [EMAIL PROTECTED]
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


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to