when i use print view some of my rows are printing twice, code sample:
<input type=“hidden” id=“TimeStmp” value="<?php echo date("Y-m-d h:i:s");?>">
<?php
usleep(500000);
header("Content-type:text/xml");
print('<?xml version="1.0" encoding="UTF-8"?>');
print ("");
print('');
$head=explode(",","Part Type,QTY,Total,Price");
$size=explode(",","100,50,50,60");
$colType=explode(",","link,ed,ed,price");
$sorting=explode(",","na,na,na,na,na");
$i=0;
while ($i<4){
print(’’.$head[$i].’ ‘);
print(’’);
$i++;
}
print(’’);
//**********************
print("");
?>
how can it be fixed, or what do i do wrong