Qucik Question on PHP

Zenax

Active Member
Messages
1,377
Reaction score
4
Points
38
Ok, I am a complete novice at PHP and I was wondering if you would give me a hand!

I use a PHP switch script on the index page, and for the default case I use an include to include the main page.

I was wondering, if the default case is not available then would I be bale to make it display a message, such Sorry main.php is under construction please return later.

Or if the main file went missing then the message would display!

I know its going to be something simple, but like I said I am a complete novice!

Thanks for your help in advance!

Regards,
Zenax
 
Top