|
Posted by Rik on 03/08/07 10:51
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=3D"#Find" =
> onclick=3D"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
-- =
Rik Wasmus
Posted on Usenet, not any forum you might see this in.
Ask Smart Questions: http://tinyurl.com/anel
Navigation:
[Reply to this message]
|