Here is the code
$i=0; while ($row = mysql_fetch_array($result)) { $output.='idno'.$i.'='.urlencode($row['usr_id']). '&'.'res'.$i.'='.urlencode($row['responce']). '&'.'sex'.$i.'='.urlencode($row['sex']). '&'.'com1'.$i.'='.urlencode($row['com1']). '&'.'com2'.$i.'='.urlencode($row['com2']); $i++; }
OUTPUT i get idno is part of com2 string how do I seperate them.
You need to add an
&when$iis not zero: