|
Posted by Pr0 N00b on 06/29/05 22:54
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 >>>>
> <script language="php">
> $myvar = "Hello World 06/23/05";
> echo $myvar;
> </script>
> <<<<Test End
> </body>
> </html>
> I will be grateful if someone will tell me why this does not work
>
> In advance, thanks
>
> Frank
>
> tooheys@fullchannel.net
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
Navigation:
[Reply to this message]
|