Page 1 of 1

Advice on creating a mathsheet generator

Posted: Wed Dec 09, 2009 5:28 am
by Iakona
I have been asked by a friend to create a math sheet generator for their child, however i don't have a clue where to start with PHP.

Similar to this..
http://cemc2.math.uwaterloo.ca/mathf...sheetgen.shtml

It doesn't need to be advanced as that as all i'm looking for is how to create the sums.

If someone could help either by informing me where to start or even an online tutorial i would be extremely greatful!

Many thanks!

Re: Advice on creating a mathsheet generator

Posted: Wed Dec 09, 2009 11:28 am
by pickle
Link's broken.

Re: Advice on creating a mathsheet generator

Posted: Fri Dec 11, 2009 7:13 am
by Iakona
http://www.lizardpoint.com/math/add-ws.html

Something like that, not as advanced however. I'm basically looking for something that lets you select between addition, subtraction, multiply and divide from a drop down menu. From there it would take you to a new page where a worksheet has been randomely generated if that makes sense.

I spoke to someone else and they said Javascript may be easier for this, would that be the case?

Re: Advice on creating a mathsheet generator

Posted: Fri Dec 11, 2009 11:52 am
by pickle
I'd think PHP would be easiest. Just create a loop that picks 2 random numbers & displays them however you want. You can toggle the display of the answers with Javascript, but generating the page should probably be done in PHP.