Hi all,
I am trying to retrieve the data from my sql db in html view but it's not retrieving the data instead of it's giving the mysql query, so could you please help me on this..
My code is
strSQL ="<table class=grid cellpadding=3 cellspacing=1 width=30><tr><td bgcolor=seashell colspan=2><h3 class=formtitle>Environment Information</h3></tr>"&_
"select '<tr><td bgcolor=seashell>Environment</td><td bgcolor=seashell>+version+</td></tr>' from build_version "&_
"where testsuiterunid=" & id & " or id=" & id & "union select '<tr><td bgcolor=seashell>Robot</td><td bgcolor=seashell>'+automation_robot+'</td></tr>' from execution_log "&_
"where testsuiterunid=" & id & " or id=" & id & "union select '<tr><td bgcolor=seashell>Environment</td><td bgcolor=seashell>'+environment+'</td></tr>' from execution_log "&_
"where testsuiterunid=" & id & " or id=" & id
I am getting the reponse as like below
select '' from build_version where testsuit= or id=union select '' from execution_log where testsui= or id=union select '' from execution_log where tests= or id=
So could you please help me on this...