PHP and mySQL

Hey,
Anyone know how I could go about making a PHP script that took a form variable, and used it in a mySQL query?
One that looked at a variable already in the table, incremented it by 1, and then put that into the query, would be even better.
Ideas?
Anyone know how I could go about making a PHP script that took a form variable, and used it in a mySQL query?
One that looked at a variable already in the table, incremented it by 1, and then put that into the query, would be even better.
Ideas?
