ODBiC Discussion Board


RE: Wierd problem between <!--...--> and <%...%>, David RIchardson, 02-02-2005

If you use <% ... %>, you have to quote the whole string

by Roger Harris, February 3, 2005 11:00

Inside the "script tags" <% and %>, a semicolon can be used to separate multiple statements. Since connection strings also use semicolons to separate keywords, you have to put the whole string in quotes, such as:

<% DATABASE "DRIVER={MySQL ODBC 3.51 driver};
             SERVER=%server_name$;
             DATABASE=%database_name%;
             USER=%user_name%;
             password=%password%"  %>


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.