Thank you for your replies! Here are some code fragments:
-- the table onto which I drag and drop the item
<table border="1" align="center" width="100%" height=500 id="myTable">
<tr>
<td ondragenter="cancelEvent()" ondragover="cancelEvent()" ondrop="drop()">
<div id="myDiv">
</div>
</td>
</tr>
</table>
-- The line of html code that I drag and drop onto the table
-- It calls the drag/drop code and sets 3 variables that contain a link, image and name
<a href="#" ondragstart="startDrag(this)" ondragend="endDrag()" MyLink="http://www.altavista.com" MyLabel="images/altavista.gif" MyName="Altavista">Altavista</a><br>
-- A piece of javascript drop code
-- This adds the new variables to the existing table
-- So I am adding new html usign the innerHTML property
event.srcElement.innerHTML=event.srcElement.innerHTML+'<div id='+parent.NewID+' ....etc.
Now I want to save the innerHTML data to a file on the internetserver using PHP but don't know how to do this.