IDC & HTX

Domain Hosting image
Web Hosting
Dedicated server
ssl certificate
Web Design image
Email

It is used to create dynamic pages that connect to databases through ODSC without writing CGI Scripts. The idc file consists of DSN, SQL Query, Template file and the htx template file provides information of how to display the result.

Example

IDC File

Datasource : Websql
Username : Sa
Template : display.htx
SQLstatement : Select name, age from sample

HTX File

< html > <body >
<%obegindetail % >

Name:< %name%> <br>
Age: < %age% > < br >
<%enddetail%>
< /body >
</html>
<%if name EG "zzzAvg"%>
'statements
< %else% >
'statements
< %endif % >

IDC operators

EQ - equals operator

IT - less than operator

GT - greater than operator

CONTAINS - if the left side is in the right side, then true

Example 2:

Example :abc.idc
Datasource: Websql
Template :abc.htx
MaxRecords: 10
SQLstatement: select*from sample

The above example returns 10 records



Domain Name Search

www.


Copyright (C) 2007. Web Domain design hosting. All rights reserved.