johnnyg24 0 Posted October 10, 2014 Report 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 Quote Link to post Share on other sites
justsomeguy 1,135 Posted October 10, 2014 Report Share Posted October 10, 2014 You need a # before include. Quote Link to post Share on other sites
johnnyg24 0 Posted October 10, 2014 Author Report Share Posted October 10, 2014 I have that, sorry, I just wrote it wrong in this post. Quote Link to post Share on other sites
justsomeguy 1,135 Posted October 10, 2014 Report Share Posted October 10, 2014 Does send.asp have anything else on it? Quote Link to post Share on other sites
johnnyg24 0 Posted October 10, 2014 Author Report 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. Quote Link to post Share on other sites
johnnyg24 0 Posted October 10, 2014 Author Report 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. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.