insert/update/verify
Posted: Thu Feb 19, 2009 8:17 am
What is the best way for people to enter data into a table?
where i can verify that the info doesn't contain rubbish entries or vulgar comments etc.
i was thinking of passing a hidden variable and then updating this to a different value (so basically true or false) when i'm happy with the content - or just delete it if it's rubbish...
..ideally this would be a checkbox updated form so rather than having to submit each one and saying yes that's good i could just checkbox 20 hit submit and they would all then be available for show in the database.
Is this the right way of going about it and as i'm pretty much a newbie any ideas would be useful of any existing code that already does this sort of thing that i can integrate into my dreamweaver created masterpiece
where i can verify that the info doesn't contain rubbish entries or vulgar comments etc.
i was thinking of passing a hidden variable and then updating this to a different value (so basically true or false) when i'm happy with the content - or just delete it if it's rubbish...
..ideally this would be a checkbox updated form so rather than having to submit each one and saying yes that's good i could just checkbox 20 hit submit and they would all then be available for show in the database.
Is this the right way of going about it and as i'm pretty much a newbie any ideas would be useful of any existing code that already does this sort of thing that i can integrate into my dreamweaver created masterpiece