johnnyg24 Posted October 10, 2014 Share Posted October 10, 2014 (edited) I'm scratching my head on this one. I have a file located website/email/notifications/newcust/email.asp I am trying to include this file in website/email/notifications/send.asp email.asp file: "Hello World" send.asp file: <!-- #include file="newcust/email.asp" --> however, send.asp is blank when I run it. Any ideas? It seems as though it is not actually including email.asp Edited October 10, 2014 by johnnyg24 Link to comment Share on other sites More sharing options...
justsomeguy Posted October 10, 2014 Share Posted October 10, 2014 You need a # before include. Link to comment Share on other sites More sharing options...
johnnyg24 Posted October 10, 2014 Author Share Posted October 10, 2014 I have that, sorry, I just wrote it wrong in this post. Link to comment Share on other sites More sharing options...
justsomeguy Posted October 10, 2014 Share Posted October 10, 2014 Does send.asp have anything else on it? Link to comment Share on other sites More sharing options...
johnnyg24 Posted October 10, 2014 Author Share Posted October 10, 2014 no. I even tried putting "Hello world" in a Sub and tried calling it from send.asp, still no luck. I use includes all over my site and they all work just fine. Link to comment Share on other sites More sharing options...
johnnyg24 Posted October 10, 2014 Author Share Posted October 10, 2014 got it. I had the include wrapped in <% %> tags in send.asp. I removed them and it works fine now. Thanks for trying. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now