Write a PHP script to accept user preference like background color, text font, login message. On the next page display login message using the preferences.||EasyCoding45
In This Tutorial we are going to Write a PHP script to accept user preference like background color, text font, login message. On the next page we are going to display login message using the preferences.
HTML Program ::--
<html>
<h3>User Preferece</h3>
<form method=get action=B3.php>
Select Background-Color
<select name=color>
<option value=red>red</option>
<option value=blue>blue</option>
<option value=cyan >cyan</option>
<option value=yellow >yellow</option>
<option value=lime >lime</option>
</select><br><br>
Select Font-Style
<select name=font>
<option value=bold>Bold</option>
<option value=italic>Italic</option>
<option value=underline>Underline</option>
</select><br><br>
Enter Login Message:<input type=text name=str><br><br>
<input type=submit value=submit>
</form>
</html>
Comments
Post a Comment