Advertisement

Use PHP to dynamically select an item in a list

Use PHP to dynamically select an item in a list 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:

PHP,Stickyness of values,Server-side validation,maintain a value in a select list,

Post a Comment

0 Comments