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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
#########################################################
# Michael Heumann
# S&I Chile - Software e Informatica Limitada
# Arlegui 440, Of. 403, Viña del Mar, Chile
# Fonofax: (56)(32) 710833
# Email: [EMAIL PROTECTED]
# Web: http://www.softwareinformatica.cl
#########################################################
--
PHP General 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]