PHP if statement with multiple file extensions?

Leo Wyatt

New Member
\[code\]if(!file_exists("dynamic/content_".$get.".html"))\[/code\]This exists in a php file. I need to modify this line of code to also encompass being able to navigate to dynamic/content_whatever.php, not just .html.What is the best way to do this? Thanks.
 
Back
Top