GH wrote:
Hi...
Here is my question. Sorry if it is a basic answer... new to php
I have PHP/mySQL and would like to know how i can set use an external
file to prevent myself for having to code everytime the
"connection/login" to mysql.
----------------
I was thinking of making an external file but was not sure if it
should have just variables or should it have more?
also, does the content of the external file need to be enclosed in
<?PHP & ?>'s
Thanks for your help
Gary
http://us2.php.net/include/
Yes, the php content of the external file needs to be enclosed.
--
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