Here's what I need to do... I just need someone to translate it into PHP: If file 12345.txt exists, <?php include 'aaaaa.html'; ?>
PHP include - conditional
11
Here's what I need to do... I just need someone to translate it into PHP:
If file 12345.txt exists, <?php include 'aaaaa.html'; ?>
If file 12345.txt does not exist, <?php include 'bbbbb.html'; ?>
What is the correct PHP syntax for this?
Thanks!
If file 12345.txt exists, <?php include 'aaaaa.html'; ?>
If file 12345.txt does not exist, <?php include 'bbbbb.html'; ?>
What is the correct PHP syntax for this?
Thanks!
- pjCheviot Banned
- Gene Pimentel
- Dylan W
- [ 1 ] Thanks
- Gene Pimentel
- pjCheviot Banned
- [ 1 ] Thanks
- [1] reply
- Gene Pimentel
- [1] reply
Next Topics on Trending Feed
-
11