Hi there, would someone help me with this please?
I accomplished this in the past and now cannot remember how I did it or find it on the web.
Using a standard while loop I want to define a string prior and then add to it each time around I know it something like
$string = . $row['unit'];
while($row = mysql_fetch_array($result, MYSQL_ASSOC))
{
if ($row['sts'] ==1){
echo "<tr>
<td>" . $row['product_description'] . "</td>
<td>" . $row['unit'] . "</td><td>£" . $row['unit_price'] . "</td>
<td><input type='text' size='4' name='" . $row['product_code'] . "_qty' /><td>
<td>ln tot</td>
</tr>";
}
}
Thanks in a advance - this is my first post so I hope I have used the correct format and this is the correct place.
A