Pooya Eslami wrote:

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?

Use a .php extension on your file. Or you can ask your hosting company to have .html files processed as PHP, but they won't.


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