Reply to Re: Newbie needs answer

Your name:

Reply:


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 &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@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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация