Include for connect info not working

wxdqz

New Member
Hi

Trying to keep password below the document root plus use less code and trying to use an include.

Include includes all the connect info... hostname, username, password, connect, etc.. All works if directly coded into page.

The output, after using the include, displays the include text as plain text and nothing else in the browser window.

Basic format is...
<?php
include ("file");
sql query
format output
?>

Thanks for your help!

Richard
 
Back
Top