Untitled Document

RATOXTIGERHAREDRAGONSNAKEHORSEGOATMONKEYROOSTERDOGPIG

Chinese Zodiac Feedback Banner Display
[Banner Ad]

Hover over the Fortune Fish to reveal your fortune.

Navigation


Web Forms

Upload Image

Uploaded A File of your choice:

Uploaded Files Will Appear Below

549045_10201083050346869_318643026_n.jpg
MashableMorocco2010.jpg
fishing.JPG
2Super.jpg
PompanoBeach2013.jpg
P1013189.jpg
Dog.png
ee.jpg
3a4fe9ce7fc302dc0cb23928326c481e.jpg
36795503_1917049725027082_1557060949154725888_n.jpg
u0Tgzyu7_400x400.jpg
flower.jpg
246074.jpg
Dragon.jpg
08e.gif





Web Forms

Processing Web Forms Alphabetizing User Input Zodiac Image Gallery


Processing Web Forms

Web forms have a variety of input field types such as text fields, text-areas, radio buttons, drop-down selection boxes and buttons which are created using HTML. Code is then written to validated the user input based on the type of data that is required for the script. There are many options when designing your forms such as the requirements you need from certain fields. For example you can require what is to be entered or require fields that should contain alpha characters v/s numeric characters. There are expressions used to verify input data with patterns such as credit card numbers, email addresses or telephone numbers. Finally your form will display the output using a server-side process to access any database included with the script.

Alphabetizing User Input

This script asks the user to input the 12 Chinese Zodiac signs separated by commas. It will check to make sure that 12 items are entered but no other editing is done. An array is built from the input using the explode function. Then the array is sorted and displayed back to the user.
[Test the Script] [View the Source Code]


Zodiac Image Gallery

Here we have a gallery of thumbnail images for the twelve Zodiac Signs. Each image can be enlarged by clicking the hyper-link.
[Test the Script] [View the Source Code]


Zodiac Feedback Form Database

This script will allow you, the user, to input your personal feedback on this Chinese Zodiac Web site. The included feedback form will ask you to input your name and any comments you would like to include. Each user has the ability to make their comments public or not by using the check-box where it specifies whether they want their comments to be publicly displayed or not. These names and comments are stored in the created database table as well as the current date and time. The form will also display a "Y" or "N" based on the users entry of checking the publicly display message check-box.
[Test the Script] [View the Source Code]


Zodiac Database Record Retrieval

This script will display the user feedback form comments from the Zodiac Feedback Database. If the user checked his form check-box to publicly display their message, it will appear in this form.
[Test the Script] [View the Source Code]





A randomly displayed Chinese proverb read from a text file.
No horse can wear two saddles*


6 Randomly displayed proverbs from a database:
4 In a flood of words, surely some mistakes.*
The Chinese Zodiac | Site counter Chinese Zodiac Feedback

Total visitors to this site: 234267


Home Page Site Layout Control Structures String Functions Web Forms Midterm Assessment State Information User Templates Final Project