PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
hi, heres the issue: i have multiple forms which all have a few common fields but each form has a few distinct fields. i would like to have only one page to process the forms but the sql for each form is different, so i thought i'd pass the sql for each form along with it in a hidden input.
(i extract $_POST so i can use the short variables) the problem is, it dosent load the variables on the processing page - they stay blank. any ideas?[/list]
The user can manipulate the query into something completely different and seriously compromise your database. It's a security hole large enough to drive four semi-trucks through side-by-side.
You've already specified how to determine which form the submission is coming from: they have some unique fields. Look for them.