Hi,

You can try replacing all $tableOrTag with the products table name and $recordNum with $product['num'] and put this section into $detail for print.

Let me know if you have any questions!

Thanks,

Leo - PHP Programmer (in training)
interactivetools.com