Unable to retrieve the data with html view - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Unable to retrieve the data with html view

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 =""&_
"select '' from build_version "&_
"where testsuiterunid=" & id & " or id=" & id & "union select '' from execution_log "&_
"where testsuiterunid=" & id & " or id=" & id & "union select '' 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...


Environment Information

Environment+version+
Robot'+automation_robot+'
Environment'+environment+'
Sign In or Register to comment.