hi,

i am creating an interface for my baseball team to allow our coach to enter in our at bats and our hits.

i want it to pull the previous number for each batter out of the db, add the number of at bats and hits to it and then update the corresponding cell for that player

sorta like:
SELECT from BATTERS where name=$batter

$atbats = $abs +$currentatbat
$hits = $basehits =$currenthits

and that's about as far as i get. i can't figure out how to update the cells.