Arrow key navigation issue
Posted: Tue Dec 16, 2003 7:04 am
I am pretty new to PHP and he looked in many places for an idea on how to do this but have failed. Here is what I would like to do.
I would like to use the arrow keys to navigate a game grid. for expamly I have a grid with X and Y axis and the person is at $x=5 and $Y=5 and then click the Up arrow key and it will read my database to see the data for $x=4 and $y=5
I know that PHP is all sever side but I am sure there is a way to do thiw with Java script. I can get it to display text now but I am not a Java script expert either . Any help would be great. This is a key part to getting my game working for beta testing
I would like to use the arrow keys to navigate a game grid. for expamly I have a grid with X and Y axis and the person is at $x=5 and $Y=5 and then click the Up arrow key and it will read my database to see the data for $x=4 and $y=5
I know that PHP is all sever side but I am sure there is a way to do thiw with Java script. I can get it to display text now but I am not a Java script expert either . Any help would be great. This is a key part to getting my game working for beta testing