Re: [PHP] Error in variable assignment

2011-04-12 Thread Richard Quadling
On 11 April 2011 20:28, Ethan Rosenberg wrote: > Dear list - > > I an writing a script that will simulate a chess board.  On a move from e2 > to e6 [see below] the variable in e2 is never assigned to e6.  Here are some > code snippets: > > session_start(); > session_name("Chess"); > error_reporti

[PHP] Error in variable assignment

2011-04-11 Thread Ethan Rosenberg
Dear list - I an writing a script that will simulate a chess board. On a move from e2 to e6 [see below] the variable in e2 is never assigned to e6. Here are some code snippets: starting"; $results = array(array("Br", "Bn", "Bb", "Bq", "Bk", "Bb", "Bn", "Br"),array("Bp", "Bp", "Bp", "Bp",