I want to ask all of you for some help since I'm still new to web programming. So basically I have html table like this:
<table width='200' border='1'>
<TH>Year 1 Spring</TH>
<TR>
<TD>
<div id="y1f_0">one</div>
<div id="y1f_1">one</div>
</TD>
<TD>
<div id="y1s_0">two</div>
<div id="y1s_1">two</div>
</TD>
</TR>
</table>
<input type="button" onclick="something">
and for example if I click the button, and it will save the table above and output/export it as a text file so later one I want get back that text file to export it back to the html table. I don't really know how to do this, should I use PHP? Really appreciate all your help.