|
Posted by Jon Slaughter on 03/08/07 12:34
"Rik" <luiheidsgoeroe@hotmail.com> wrote in message
news:op.tou9ryviqnv3q9@misant...
Jon Slaughter <Jon_Slaughter@Hotmail.com> wrote:
> When a user clicks a link I have it open up a file in a div using ajax.
>
> <a href="#Find"
> onclick="javascript:jah('Find.html','content');">Find</a><br
> />
>
> Where Find.html is an html file on the server.
> <html>
> <body>
> Find
> <?php
> echo "Hello";
> ?>
> end Find
> </body>
> </html>
>
> I get Find and end Find but not hello.
Probably you do, it's just hidden in the HTML source as raw PHP-code,
because your server isn;t set up to parse *.html for php-code (as ist
should be.
Rename your file & links Find.php
--
Oh, I see. Wasn't thinking.
Thanks,
Jon
Navigation:
[Reply to this message]
|