I've learned XHTML, CSS, Javascript, and Java (fairly)... I'm designing a Java program to help me update the news section on my website by spitting out the HTML code. Is there a way to design a program that could access my news.php file on the web server and change the HTML code (and inject the code at the right place) at a click of the button?
<tr>
<td height="48" background="images/newsheader.gif"><div align="center">
<t>TITLE - DATE</t></div></td>
</tr>
<tr>
<td><div align="center">
<table width="607" border="0">
<tr>
<td><p>
* * MESSAGE</p></td>
</tr>
<tr>
<td><div align="right">
<p>-<a href="mailto:EMAIL">NAME</a> @ TIME</p></div></td>
</tr>
The program will spit this code out and fill in the variables according to what I specify in the text fields with the "Generate HTML Code" button. Now, I want to be able to click another button (or maybe run some type of a script) that injects this code into the HTML file just before the last code that was injected.
Any ideas as to where to start?
Additional information: I have tried setting our page up as a blog; after many attempts, I've come to the conclusion that my host is missing something (or has something turned off) that blogs need in order to work, as they were all buggy upon fresh installations. (I couldn't even access the admin panel in Wordpress! I'd get a white screen.)
<tr>
<td height="48" background="images/newsheader.gif"><div align="center">
<t>TITLE - DATE</t></div></td>
</tr>
<tr>
<td><div align="center">
<table width="607" border="0">
<tr>
<td><p>
* * MESSAGE</p></td>
</tr>
<tr>
<td><div align="right">
<p>-<a href="mailto:EMAIL">NAME</a> @ TIME</p></div></td>
</tr>
The program will spit this code out and fill in the variables according to what I specify in the text fields with the "Generate HTML Code" button. Now, I want to be able to click another button (or maybe run some type of a script) that injects this code into the HTML file just before the last code that was injected.
Any ideas as to where to start?
Additional information: I have tried setting our page up as a blog; after many attempts, I've come to the conclusion that my host is missing something (or has something turned off) that blogs need in order to work, as they were all buggy upon fresh installations. (I couldn't even access the admin panel in Wordpress! I'd get a white screen.)