include!!!!!
| From: | Jamie Thompson | Date: | Wed, 23 May 2001 13:18:23 +0000 |
| Subject: | include!!!!! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-54036@lists.php.net to get a copy of this message | ||
I'm new to php (having converted from the evil ASP) and i'm having some
trouble with includes
this is what i'm doing...
<?php
include("inc/db.inc.php")
database stuff....
?>
db.inc.php is as follows:
$linkID = mysql_connect('localhost', 'root', 'not-telling-you');
mysql_select_db('foobar');
All i get is the above outputted to the screen as html!