I took out the scrip tags and put in <?php in the beginning and ?>  at the
end, but it returns this:

$file
"; } } closedir($handle); } echo "
"; ?>

Any ideas how to fix this?


"John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Daniel Clark wrote:
>
> > I should have also said:
> >
> > Because it's missing the <?php and ?> tags, the
>  > web server isn't going to run the code, but pass
>  > it back to the client browser.
>
> You are right, but not for the reason you think. <script language="php">
> is a valid way of starting PHP mode.
>
> http://us2.php.net/manual/en/language.basic-syntax.php
>
> Because the file extension is .html, though, the PHP engine will not
> parse any of the PHP in the file, though.
>
> -- 
> ---John Holmes...
>
> Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/
>
> php|architect: The Magazine for PHP Professionals – www.phparch.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to