Re: include!!!!!

From: Date: Wed, 23 May 2001 13:28:56 +0000
Subject: Re: include!!!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-54042@lists.php.net to get a copy of this message
Hi, that sounds like your Web server doesn't interpret PHP at all. Are you sure you enabled it correctly? What platform are you working on? Greetings, Michael. > 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! > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net ######################################################### # Michael Heumann # S&I Chile - Software e Informatica Limitada # Arlegui 440, Of. 403, Viña del Mar, Chile # Fonofax: (56)(32) 710833 # Email: mheumann@softwareinformatica.cl # Web: http://www.softwareinformatica.cl #########################################################

« previous php.general (#54042) next »