Posted by flamer die.spam@hotmail.com on 12/17/71 11:52
yawnmoth wrote:
> I have two servers that have had PHP installed on them and...
>
> <?php
> echo 'hello, world!
> ?>
>
> ...displays a parse error on server A and doesn't display anything on
> server B.
>
> Any ideas as to what the problem is?
yes, you need have the echo line ending with a colon like so:
echo "Sup world??";
why does it work on one server and not the other.. well not sure off
the top of my head but will be soemthing in the php.ini config. Do a
phpinfo(); on each machine to compare.
Flamer.
Navigation:
[Reply to this message]
|