i want to call an asp file inside an html file.
But it doesnt work.
The code i have written is
<!-- #include file=abc.asp?val=1234 -->
the code works fine when defined in asp.
Printable View
i want to call an asp file inside an html file.
But it doesnt work.
The code i have written is
<!-- #include file=abc.asp?val=1234 -->
the code works fine when defined in asp.
I don't know what you try to do, but it's quite normal that this doesn't work.
It's a server-side directive, not html, so you ll need to put it in an asp page.
It's also impossible to include an asp page with a url parameter.
if its in an ASP page try this.
server.execute("Page.asp?field=value")