GH wrote:
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>

Yes, you need to enclose it in opening/closing php tags. It will include the file inline, just as if you wrote the code in that spot of your original file. So if you have....

$foo = "bar";
include ( "myincludefile.php" );

and myincludefile.php is...

<?php

$foo .= " is very common in programming.";

?>

$foo will now equal "bar is very common in programming" right after you include the file.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to