i have a project where i have to design a simple site. what needs to be done is this.
create an XHTML <FORM> for a users first and last name.
Create A Javascript code that can read the data from that <FORM> and write to MySQL database that stores the names.
Also have that Javascript code be able to delete a name from that database.
NO CHECK WILL BE NEEDED FOR THE SECOND PART OF THE JAVA CODE. WE CAN ASSUME THE NAME TO BE DELETED IS ALREADY IN THE DATABASE!
Does anyone have any idea of a good tutorial page explaining MySQL and Javascript?
Im clueless as to how to connect the FORM to the JSP to edit the database.
Here's the Exact Rules
Make a Database with a table named Members with a single attribute clubMembers. An HTML Form allows members to be added to the data base by transmitting a Form input variable newMemberName to a designated JSP program which adds members to the database. Verify the additions by manually displaying the database tables before and after additions. Test and Document appropriately. You will be using the MySql database.
1. Add a password field to the form and protect the database with a password, rejecting access if the password fails. Use POST method on form so password is not overtly exposed in the query string.
2. Use a radio button option on the form to allow the user to either insert or delete a member from the database. You can assume that if the user provides a name to be removed then that name is actually already in the database and is unique.
Upload your files to the public_html folder of your AFS account..
ALSO, please upload your files plus the url where your files are located to WebCt using the submission form under the assignment icon. The time stamp recorded by WebCT will be the timestamp that I use to determine if your assignment is on time or not.
This post has been edited by newkid34: 04 April 2010 - 05:00 PM

New Topic/Question
Reply



MultiQuote









|