Question: Chess game form for entering moves?
Posted: Sun Jul 16, 2006 5:28 pm
I am a novice at programming with php, and yesterday decided I would try a new 'little' project. At first I thought it would be easy, but now I am looking at things a bit differently.
Really, what I am trying to do is create a form that will be able to generate all the fields I would need to enter for every move in a given chess game into a mysql database. I emphasize the all because rather than enter each pair of moves, then hit 'enter' and return to the form to enter the next row I am thinking that if I know how many pairs of moves (i.e black, white) there are, then there must be a way to generate a form with xx many fields, then enter the moves, then hit enter once.
Any hints on accomplishing this would be great! Or maybe it has been done before?
Thank you
Really, what I am trying to do is create a form that will be able to generate all the fields I would need to enter for every move in a given chess game into a mysql database. I emphasize the all because rather than enter each pair of moves, then hit 'enter' and return to the form to enter the next row I am thinking that if I know how many pairs of moves (i.e black, white) there are, then there must be a way to generate a form with xx many fields, then enter the moves, then hit enter once.
Any hints on accomplishing this would be great! Or maybe it has been done before?
Thank you