| Wayne State University College of Lifelong Learning Interdisciplinary Studies Program, Fall, 1999 http://www.cll.wayne.edu/isp/drbowen/internet Instructor email: d.r.bowen@wayne.edu Instructor tel (WSU) (313) 577-1498 / (Home) (248) 549-8518 |
eCommerce: Using the Web to Find and Service
Customers AGS 3360 Section 986 Call Number 99882 or ISP 5500 Section 982 Call Number 90569 |
Last updated: 10/27/99
Link back to course Welcome
iHTML #2
for AGS 3360: eCommerce
| <iHTML | dbname="DataSourceName" | Use Team DSN |
| sql="insert into tablename (list of fieldnames) | Separate field names with commas | |
| values ('value1', 'value2', 'value3' ... 'lastvalue')" | Values can also be colon variables from form | |
| FAILURE="Error: :i_error :i_errortext :i_sqlerrortext<br>"> | Displays an error message if tag fails. Useful for debugging, but you don't want your users seeing this! |
| <iSQL | dbname="DataSourceName" | Use Team DSN |
| sql="select * from tablename | * = all fields | |
| where fieldname='value' | "where" is optional | |
| FAILURE="Error: :i_error :i_errortext :i_sqlerrortext<br>"> | Displays an error message if tag fails. Useful for debugging, but you don't want your users seeing this! | |
| <iSQLFETCH> <iWHILE NOTALIAS=i_sqlempty> use the data - print, add whatever <iSQLFETCH> </iWHILE ALIAS=i_sqlempty> </SQL> |
||
| <iSQL | dbname="DataSourceName" | Use Team DSN |
| sql="update tablename set fieldname='value' | value of fieldname in tablename will be changed to value | |
| where fieldname2=value2 | (optional) only for fields where fieldname2 = value2 | |
| FAILURE="Error: :i_error :i_errortext :i_sqlerrortext<br>"> | Displays an error message if tag fails. Useful for debugging, but you don't want your users seeing this! |