Actually, I just thought of adding an include file with that same code that would be placed at the bottom of the last one in the eCart1_PHP.php file. Then have that file updated automatically with that code, when a product is entered into the shopping cart database - and just grabbing the ID and replacing it in the right places. Do you think that's an alright idea? Or maybe you know a better way. Thanks.