Guest conker87 Posted February 10, 2006 Share Posted February 10, 2006 After searching and posting in my hosting forums and finding nothing that can help me.I have been using: if ($id == 'contact') { include('id_contact.htm'); }else { include("id_news.htm"); } However this doesn't seem to be working. I have tried other code but nothing that I use seems to work.Anyone help? Link to comment Share on other sites More sharing options...
aspnetguy Posted February 10, 2006 Share Posted February 10, 2006 After searching and posting in my hosting forums and finding nothing that can help me.I have been using:if ($id == 'contact') { include('id_contact.htm'); }else { include("id_news.htm"); } However this doesn't seem to be working. I have tried other code but nothing that I use seems to work.Anyone help? <{POST_SNAPBACK}> Make sure your hosting account allows SSI, some don't...although I don't know why they shouldn't. Link to comment Share on other sites More sharing options...
hacknsack Posted February 10, 2006 Share Posted February 10, 2006 Are you sure you have set your file path correctly.include()Informit Article 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