I have made my page where PHP checks to see if a file exists. I want to be able to make it a link if it exists, and plain text if it doesn't. I know it uses an if, else statement, but i don't know how to make a link. Here is my code so far:
<?php
if ( file_exists("home.htm")
{
print "<a href="home.htm">Home</a>";
}
else
{
print "Home";
}
?>
But, I continually get a parse error on the <a href> line. Please help!