|
|
Omega News
<%
' default driver for SQL connections
set conn = server.createobject ("adodb.connection")
' select dBase
conn.open "omega"
' build SQL quert
query1 = "SELECT * from news"
' execute SQL query
set result = conn.execute (query1)
'get datra from result
body_en = result ("body_en")
body_fr = result ("body_fr")
body_sp = result ("body_sp")
'change xxxxx by '
body_en = replace(body_en,"xxxxx","'")
body_fr = replace(body_fr,"xxxxx","'")
body_sp = replace(body_sp,"xxxxx","'")
'change " by \"
body_en_html = replace(body_en,chr(34),"\""")
body_fr_html = replace(body_fr,chr(34),"\""")
body_sp_html = replace(body_sp,chr(34),"\""")
response.write(body_en)
%>
|
|
|