New PHP Programmers start learning PHP by using a Salt And Pepper method, which comprises the vast majority of PHP Programming on the Internet. This is a valid and efficient way to develop eCommerce Web Sites and retain GUI editing efficiency. The alternative is 100% PHP-Generated web pages, which is an advanced and tricky method for developing web content. The latter method dictates that PHP shall control every chunk of code and object passed to the web server for distribution. Everything is contained inside the PHP tags including static HTML and plain text. The big drawback to this method is that GUI programs like Adobe’s Dreamweaver and GoLive cannot interpret the code and cannot display the layout. When the layout cannot be adjusted easily, the web page appearance suffers and the result is usually great functionality with poor presentation.
<select name="myMenu" id="myMenu" onChange="formhandler(this.value)"> <option value="10">Milk</option> <option value="10">Soda</option> <option value="UT">Salt</option> <option value="UT">Nuclear Dust</option> </select>