HTTP servers with scripting support on Android
AndroPHP looks like it'll fill your needs quite nicely.

You can...


Deply dynamic PHP content
Serve pages over LAN
Use a MySQL Database


Heck, this'd be awesome for all sorts of events. Have people whip out their phones, navigate to your locally hosted signup form, etc, then export the mysql tables out later.