Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

our version will have the following features: The user will input the seed phrase in a web form Using JavaScript real - time validation: Do

our version will have the following features:
The user will input the seed phrase in a web form
Using JavaScript real-time validation:
Do not enable the "SUBMIT" button unless they've entered only letters and spaces
As the user types, the button will enable and disable as the user types (based on the validity of their input)
The user will choose (using a radio button or a drop down list) which text story their poem will be based on.
The page (index.php) will either display the form or the resulting poem
There will be at least three tables created, one for each of the stories
You'll need to import the stories like we did in class.
Create a page (with a link to it) called stories.php.
This page will have one button for each story you have in your database
Each button will say (for example) "view brain table" (i.e., whatever the three or more table names you created)
Upon clicking the button, it will print out 200 records from the table in a random order
Every time I click the button, I'll get 200 different records
Here's the query for a table called brain with the field holding the words called name:
"SELECT name FROM brain ORDER BY RAND() LIMIT 200;"
CRITICAL NOTE: Without the above stories.php file and functionality, the assignment will not be graded. This must be present to get any points.
NOTES:
Create a folder called "diastic" to be placed in the root directory of your server or in the htdocs folder if you have one
Inside the folder will have the index.php file with the code described above
You can get the stories from the text file siteLinks to an external site. or any other resource you'd like.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essentials of Database Management

Authors: Jeffrey A. Hoffer, Heikki Topi, Ramesh Venkataraman

1st edition

133405680, 9780133547702 , 978-0133405682

More Books

Students also viewed these Databases questions