Re: Newbie needs answer
- From: Pr0 N00b <nomail@xxxxxxxxxxxx>
- Date: Wed, 29 Jun 2005 21:54:49 +0200
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@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
.
- References:
- Newbie needs answer
- From: ft310
- Newbie needs answer
- Prev by Date: Re: Newbie needs answer
- Next by Date: PHP includes -- unique title and meta tags for each page
- Previous by thread: Re: Newbie needs answer
- Next by thread: Re: Newbie needs answer
- Index(es):
Relevant Pages
|