Hi there,
I'm using Apache and PHP in OSX, but for some reason my output is ignoring my escape codes.
For example the code
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;"><?php
$lengths = array(0, 107, 202, 400, 475);
foreach($lengths as $cm)
{
$inch = (100 * $cm) / 2.45;
echo "$cm centimeters = $inch inches\n";
}
?> </pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Is outputting this:
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">0 centimeters = 0 inches 107 centimeters = 4367.3469387755 inches 202 centimeters = 8244.8979591837 inches 400 centimeters = 16326.530612245 inches 475 centimeters = 19387.755102041 inches </pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">instead of this:
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="font-size:x-small; font-family: monospace;">0 centimeters = 0 inches
107 centimeters = 4367.3469387755 inches
202 centimeters = 8244.8979591837 inches
400 centimeters = 16326.530612245 inches
475 centimeters = 19387.755102041 inches </pre><hr /></blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">Has anyone run into this before? I'm using the default instalation of apache (1.3) with the entropy.ch PHP module for OS X.
Any help is appreciated.
<small>[ 06-24-2002, 07:23 PM: Message edited by: CleaningMan ]</small>