HostinPK Posted October 22, 2011 Share Posted October 22, 2011 I want to show news and announcement in HTML page. You can see in attachment that I have shown in HTML page at http://hostinpk.com but I have done this manually but I want to do this automatically. I have read http://docs.whmcs.com/Linking_to_WHMCS#Showing_Announcements_on_your_Site but I am not familiar with PHP. So, anyone can help me to implement this in HTML page. 0 Quote Link to comment Share on other sites More sharing options...
othellotech Posted October 25, 2011 Share Posted October 25, 2011 you can't put dynamic elements in static html files. 0 Quote Link to comment Share on other sites More sharing options...
bear Posted October 25, 2011 Share Posted October 25, 2011 you can't put dynamic elements in static html files. Well, you can if you tell the server to parse those files for PHP, but that's not a good solution over all. You could also use an iframe, but that comes with it's own issues. At some point it requires PHP scripting, no matter what method. 0 Quote Link to comment Share on other sites More sharing options...
HostinPK Posted October 25, 2011 Author Share Posted October 25, 2011 Well, you can if you tell the server to parse those files for PHP, but that's not a good solution over all. You could also use an iframe, but that comes with it's own issues. At some point it requires PHP scripting, no matter what method. Then what may be the best solution between these 2? 0 Quote Link to comment Share on other sites More sharing options...
bear Posted October 25, 2011 Share Posted October 25, 2011 Best bet is to make the page .php instead of .html, but 2nd best would be to tell the server to parse it for PHP, in my opinion. 0 Quote Link to comment Share on other sites More sharing options...
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.