$seq="ACGTGACG";

for ($i=1;$i<=1000;$i++) {
        mutate($seq);
        print "<div id=\"opseq\">";
        print $seq;
        print "</div>";
}

In the above php code I have a variable, $seq, which mutates over 1000 cycles. 
I have surrounded this element with div tags, and have given it the id opseq. 
What I would like to do is to be able to reach this element and change it every 
cycle. However in the html output I want the element to stay in the same place 
and be overwritten during each cycle. I gather that I have to change the 
element through the dom structure of the document, but as how I can do this i 
have no idea.

Can anyone help?

Thansk in advance!

csmatyi

Reply via email to