it would involve some math- but if you could have the base figures for a one person serve, and make a loop so that if they say they want to serve three then the quantity will be times by 3. Sadly as far as cooking goes- if its an in the oven job the cooking time changes as well.
You should be able to do this with javascript, asp or php- try going to one of the javascripting resource sites if you don't have access to a server side scripting facilty.
I think it's javascript.com Sometimes, when my code just won't behave, I take it outside and make it listen to britney spears music, and when it comes back it's really well behaved. I wonder if it's suffering from post tramatic stress syndrome now..