What my script currently does:
- grabs & cleans a $_GET['id']
- pulls all pre-existing data from TABLE for that id
- displays form populated with any pre-existing data
- SUBMIT sends form data to update script, adds all data to TABLE
- grabs & cleans a $_GET['id']
- pulls all possible (id)'s from TABLE (this I know how to do)
- checks that \[code\]$_GET['id']\[/code\] is in array ID (this I know how to do)
- IF NOT, kill script, do not display form, and echo error message (this I don't)
- IF YES, proceed as normal
- pulls all pre-existing data from TABLE for that id
- displays form populated with any pre-existing data
- SUBMIT sends form data to update script, adds all data to TABLE
- php code
- html form with \[code\]<?php _ ?>\[/code\] inserts for all values