This video demonstrates using PHP to add the "selected" attribute to a SELECT drop-down list when building the list dynamically. In this instance it is being used as part of a server-side validation process within a MVC architected application. This is a slightly updated version of a previous video:

0 Comments