RE: [PHP] External Files (take 2)
| From: | Jesse Castro | Date: | Mon, 20 Sep 2004 20:46:21 +0000 |
| Subject: | RE: [PHP] External Files (take 2) | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-197346@lists.php.net to get a copy of this message | ||
[snip]
So i would not need to use <?PHP / ?> correct...
Also as to the other question I asked:
WHat should I use in the other file? the complete connection code or
just the values as variables?
[/snip]
Something like this:
Main file:
<?php
include("includeFile.php");
// do lots of stuff
?>
includeFile.php
<?php
//configuration stuff, functions, db connections, etc.
?>
Cheers,
-jesse-