hello,
i've recently started learning php4 with mysql and have also migrated from windows to mac os x (10.3). the problem i'm having is getting php to work in my browser, at the moment all php is either not displayed at all or everything between the php tags just displays on the screen as plain text.
eg.
<?php
echo "hello world";
?>
this script saved with .php extension just displays -
<?php
echo "hello";
?>
and
<?php
echo "hello world";
?>
saved as html displays nothing at all.
the problem isn't just limited to my default browser (firefox) as the same thing happens in safari.
i'm sure it must be something reallt straight forward that i'm missing. any help much appreciated.
regards,
Mike.
i've recently started learning php4 with mysql and have also migrated from windows to mac os x (10.3). the problem i'm having is getting php to work in my browser, at the moment all php is either not displayed at all or everything between the php tags just displays on the screen as plain text.
eg.
<?php
echo "hello world";
?>
this script saved with .php extension just displays -
<?php
echo "hello";
?>
and
<?php
echo "hello world";
?>
saved as html displays nothing at all.
the problem isn't just limited to my default browser (firefox) as the same thing happens in safari.
i'm sure it must be something reallt straight forward that i'm missing. any help much appreciated.
regards,
Mike.