Depending on the amount of clicks you expect, you should also avoid connect/disconnect to the database in every script call. Use persistent database connections instead.
I can't recommend a solution from the top of my head (i have my own MAPLAT webframework for that, but thats a bit overkill for that purpose and anyway is also still subject to change).
In reply to Re^2: Editing Data in SQL database
by cavac
in thread Editing Data in SQL database
by jaacmmason
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |