View Single Post
  #2 (permalink)  
Old 04-13-2008, 02:51 AM
patricktr
 
Posts: n/a
Diggs:
Default Re: Unable to connect to database

Hi Geo,

I don't know about ColdFusion but in php you have a call to the datatbase as
the first statement of the sentence routine ..

<?php require_once('Connections/mydb.php'); ?>

This is before even the <!DOCTYPE html PUBLIC statement

the mydb.php program is created automatically by Dreamweaver when you input
the connection info - it auto puts it in a folder called "Connections"... I
guess Coldfusion is similar.
I hope that is helpful and not leading you down the garden path - good luck.
Regards.
Patrick.

Reply With Quote