Millie Moore Posted April 2, 2016 Share Posted April 2, 2016 How do I make an equation "IF filename = 'index.php' in my CC directory? I have been trying to figure it out. I have the rest of what I need for it to do if the equation equals that filename. I have v6.0.11 if that matters. Thanks Millie Moore Quote Link to comment Share on other sites More sharing options...
bsmither Posted April 2, 2016 Share Posted April 2, 2016 The PHP syntax is: if($filename == "index.php") { statements; } Quote Link to comment Share on other sites More sharing options...
Millie Moore Posted April 2, 2016 Author Share Posted April 2, 2016 4 minutes ago, bsmither said: The PHP syntax is: if($filename == "index.php") { statements; } I thought cc had a special way of coding it within their files..... Thanks Millie Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.