|
Cold Fusion and Databases |
||
|
Cold Fusion and database interaction very often go hand-in-hand. Cold Fusion can work with any ODBC compliant database as long as it has been converted into the MySQL environment. For step-by-step instructions in making the conversion please review: Using ODBC <cfquery datasource="database" password="db-password" username="db-username" name="products"> |
The first line shows the connection string and the variables needed to interact with the database successfully: <cfquery datasource="database" password="db-password" username="db-username" name="products"> Where: This string and the SQL instructions/requests must be enclosed inside of the <cfquery datasource="database" password="db-password" username="db-username" name="products"> For more information on Cold Fusion please review: Cold Fusion Resources |