question archive a folder named "Wishes"
Subject:Computer SciencePrice: Bought3
a PHP file, "insert-wish-form.php", with a form that has the following fields:
- Your Name (text)
- Your Friend's Name
- Your Email (text)
- Your Friend's Email (text)
- Wish (textfield)
- Image URL (text)
- Submit button
a PHP file, "edit-wish-form.php", with a form that has the following fields:
- Your Name (text)
- Your Friend's Name
- Your Email (text)
- Your Friend's Email (text)
- Wish (textfield)
- Image URL (text)
- Submit button
a PHP file, "delete-wish-form.php", with a form that has the following fields:
- wishId (hidden field) The value of this field should be equal to a GET variable that is passed in via the url. So if the URL is delete-wish-form.php?wishId=1 then your hidden field looks like this: <input type="hidden" value="1">
- Submit button
For each of the preceding forms, submit your values via POST to a PHP processing script that receives your values and outputs them to the web page. So, for example, "insert-wish-form.php" should submit to "process-insert-wish-form.php" which then outputs the data that was submitted.
another PHP file, "select-wishes.php".
- Output the string: "Wishes" on this page.
- If a GET variable, "wishid" is passed to this script via the url, output the string: "Wish" followed by the value of the GET variable. Your script must handle this logic.
Remember, you are in control of the URL so you can test whether or not you show "Wishes" or "Wish" followed by the value of the GET variable.