on 25/09/02 3:05 AM, The New Source ([EMAIL PROTECTED]) wrote: > I have a field on a MySql database that is started with a 0, and I want > to add 1 to this field every time a button is pressed on a form. So it > should add one every time, like if there is 5 and you press it one time > it would have 6. >
UPDATE tablename SET value=value+1 WHERE ..... Or something like that!! Check the MySQL manual. Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php