Learning PHP and MySQL

Figure 10-06 Radio buttons

<form>
<
fieldset>
<
label>Italian  <input  type="radio"  name="food"  value="Italian"  /></label>
<
label>Mexican  <input  type="radio"  name="food"  value="Mexican"  /></label>
<
label>Chinese  <input  type="radio"  name="food"  value="Chinese"
checked="checked"    /></label>
</
fieldset>
<
input  type="submit"  value="Go!  />
</form>

This code generates the example in Figure 10-06 in the book.

Posted by on 08/18 at 11:00 AM

Next entry: Example 10-04 Multiple book types

Previous entry: Figure 10-05 Checkboxes

<< Back to main