"Beginning PHP and MySQL E-Commerce: From Novice to Professional, Second Edition"
You can load that page at http://localhost/tshirtshop/index.php?ProductId=1, and you can see its HTML source by rightclicking an empty area of the page and selecting View Source (in Internet Explorer) or View Page Source (in Firefox). Here??™s what you??™ll find. We??™ve deleted several options to make the listing easier to read, and we??™ve added the Smarty comments to help you correlate the source template with the output, although the comments don??™t make it in the actual output: {* Generate the list of attribute values *}
{* Parse the list of attributes and attribute values *} {* Generate a new select tag? *} Color: