How can I make an if and else statement that does something if a .txt file equals something?

Offline
I don't really know PHP but I think you'd use file() to get the contents of the file and assign that to a string.
Offline
Bah, GP1 beat me to it
It's great you're learning PHP, stevetheipad! A good place to ask questions about it is the coder's shed forums where I go when I have questions about web languages!
If you want to ask about web languages on Scratch, try this thread
Offline
Ah yes, I like those forums
Offline