User Tools

Site Tools


en:web_development:forms:styling

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:web_development:forms:styling [2022/01/18 07:15]
mag created
en:web_development:forms:styling [2023/08/16 09:33] (current)
Line 30: Line 30:
                 <ul>                 <ul>
                     <li>                     <li>
-                        <label>Hero Name:</label> +                        <label>Hero Alias:</label> 
-                        <input type="text" name="name" size="30" maxlength="50">+                        <input type="text" name="name" size="30" maxlength="50" hint="Iron Man"> 
 +                    </li> 
 +                    <li> 
 +                        <label>Identity:</label> 
 +                        <input type="text" name="name" size="30" maxlength="50" hint="Tony Stark">
                     </li>                     </li>
                     <li>                     <li>
Line 67: Line 71:
     while($row = $hrslt->fetch()) {     while($row = $hrslt->fetch()) {
 ?> ?>
-                            <option value="<?php echo $row['character_name']; ?>"><?php echo $row['character_name']; ?></option>+                            <option value="<?php echo $row['alias']; ?>"><?php echo $row['alias']; ?></option>
 <?php <?php
     }     }
Line 80: Line 84:
     while($row = $mrslt->fetch()) {     while($row = $mrslt->fetch()) {
 ?> ?>
-                            <li><input type="checkbox" name="movie" value="<?php echo $row['movie']; ?>" id=""> <?php echo $row['movie']; ?></li>+                            <li><input type="checkbox" name="movie[]" value="<?php echo $row['movie']; ?>" id=""> <?php echo $row['movie']; ?></li>
 <?php <?php
     }     }
 ?> ?>
-                            <li><input type="checkbox" name="movie" id=""> <input type="text" name="new_movie"></li>+                            <li><input type="checkbox" name="movie[]" value="new" id=""> <input type="text" name="new_movie"></li>
                         </ul>                         </ul>
                     </li>                     </li>
en/web_development/forms/styling.1642518914.txt.gz · Last modified: 2023/08/16 09:33 (external edit)