Okay so I'm inserting this code : <!--#include virtual="/ad_network_388.php" --> (for the dp co-op network); into my index.html. When I upload my site I search that code in my source and it's not there. Wtf? I changed some other code in the site like text from 2006 to 2007, and that stayed the new site has 2007 as the text. Why? I don't understand why. Code I see in Dreamweaver: <div id="footer"> <!--#include virtual="/ad_network_388.php" --> <p>Copyright (c) 2007 Spartansaving.com. All rights reserved. Code I see from my Website: <div id="footer"> <p>Copyright (c) 2007 Spartansaving.com. The space is there. Anyone know why? Never experienced this before.
I had something similar happen to me this is what is was... Modified a document within a program, say dream weaver, and not closed the file before uploading. The document remains 'locked for editing' and uploads the file before I opened it and saved my edits.
Okay, but with mine I also edited some text. The edited text appeared on the webpage while the php code did not.
1. That's not PHP code, that is an HTML comment. 2. PHP code never appears on a page, it is executed on the server-side and only the result is shown.