Re: Newbie needs answer



ft310 schreef:
I have two web page linked from http://www.rhodeisland-aa.org/ricsmeetings/index.htm

They are supposed to do the same thing. These pages are Test10 and Test20.

Test10 works (after a fashion)

Test20 does not work. The code from this page is
            <html>
            <head>
            <title>RICS Test page 02 06/23/05</title>
            <script language="php" type="text/php">
            <!--
            //-->
            </script>
            </head>
            <body>Test Start &gt;&gt;&gt;&gt;
            <script language="php">
            $myvar = "Hello World 06/23/05";
            echo $myvar;
            </script>
            &lt;&lt;&lt;&lt;Test End
            </body>
            </html>
I will be grateful if someone will tell me why this does not work

In advance, thanks
Frank


tooheys@xxxxxxxxxxxxxxx

First of all, tell your newsclient to NOT use HTML in your postings.
Secondly, <script language="php"> won't work, you should replace this:
<script language="php">
$myvar = "Hello World 06/23/05";
echo $myvar;
</script>
with this:
<?php
$myvar = "Hello World 06/23/05";
echo $myvar;
?>
And upload it to an host that has PHP support. Files with PHP code in it will look weird or don't display at all when you display them locally or upload them to an host that doesn't have PHP support. Maybe your host can tell you more
.




Relevant Pages