I am building a site where users can create and edit database entries. Currently users can click on an edit link that passes a $_GET value on to the next page. A mysql query grabs the $_GET value and displays a edit form with the appropriate entry data filled in.
How can I produce this result with a modal window instead of directing the users to another page?
Also, here are links to the relevant code: