soup4you2
August 9th, 2003, 20:42
ok i seem to be having some issues here...

i installed php w/ mysql support added all the conf stuff

if i make a page with

[code:1:27516a1b79]
<?
phpinfo{};
?>
[/code:1:27516a1b79]

everything looks fine..

now i can make a page with

[code:1:27516a1b79]
<?
echo "down for repairs";
?>
[/code:1:27516a1b79]

and it displays properly...

Now if i do simple php tasks like

[code:1:27516a1b79]
<?

$var = date("H";
if ($var <= 11)
{
echo "good morning";
}
elseif ($var > 11 and $var < 18)
{
echo "good afternoon";
}
else
{
echo "good evening";
}

echo "Wer are currently down for repairs";
?>
[/code:1:27516a1b79]


the page is blank..

every complex php doc is seems just seems to display a bank page...

any clues?

soup4you2
August 9th, 2003, 20:50
ok besides the parse error i think i got it working now...