Jump to content

Hell Of a Newb Question


renfley

Recommended Posts

Hey guys havent coded in a while and im stumped. Ive checked google but to no avail lol

 

i wanna include my config file and have an IF statement to run/include another file IE...

 

<?php

    include("config/config.php");

          If File(Not Exist);

              include("install/config.php");

?>

 

If someone can put me back on track it would be greatly epreciated

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/220663-hell-of-a-newb-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.