I would like to take a chunk of code as below and assign it to a variable so I can insert it formatted into one field of a database.
Thanks for your help
PHP Code:for ($i = 0 ; $i < $num_elements ; ++$i) {
echo ("<tr><td>$itemno[$i]</td>
<td align='center'>$items[$i]</td>
<td align='center'>$qty[$i]</td>
<td align='center'>$rush</td>
<td align='center'>$cost[$i]</td>
<td align='center'>$tcost[$i]</td>
</tr>");
}




Bookmarks