Hi everyone, thanks for reading this.
I'm having a really strange thing occur and it has never happened to me before. I'm hoping someone has a solution.
I'm writing a web based inventory page that displays several items, displays them, and allows for updates. To do this I load all pertanent data into an array.
What is occuring is that the html will change randomly and at random times while the page is being rendered and I have no idea why.
Here is an example. The code for rendering:
<td width='20%' valign='top' align='center' bgcolor='<? echo $the_bgcolor;?>'><input type='text' name='build_block[<? echo $i;?>]' size='20' value=<? echo $the_build_block;?>></td>
<? usleep(25000); ?>
<td width='20%' valign='top' align='center' bgcolor='<? echo $the_bgcolor;?>'><input type='text' name='safety_stock[<? echo $i;?>]>' size='20' value=<? echo $the_safety_stock;?>></td>
The results from I.E. 6
<td width='20%' valign='top' align='center' bgcolor='#EEEEEE'><input type='text' name='build_block[29]' size='20' value=0></td>
<td width='20%' valign='top' align='center' bgcolor='#EEEEEE'><input type='text' nam='saafety_stock[29]>' size='20' value=0></td>
Notice the difference of the second textbox.
It does this very randomly, sometimes working quite well, other times not. I have put "ob_start()" at the beginning of the page, then flush the buffer to the browser in hopes that would help, but it doesn't.
We are using IIS on a Windows 2k Server.
Does anyone have any ideas how to solve this? Thanks very much.