In article <96klap$c8p$[EMAIL PROTECTED]>, [EMAIL PROTECTED] ("Boclair") wrote: > Is it possible to place the mysql connect and mysql select db functions in > an include file and to open the connection and use the database in a PHP > file using include(); ? > > All that happens when I attempt it is that the text of the include file is > dumped, the connection to the mysql server is not opened and the variables > are not created. To be parsed as PHP code, the contents of the included file also need to be in PHP mode <?php ... ?>. -- CC -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]