Vicky Sp Posted October 14, 2015 Share Posted October 14, 2015 Hai, I want use up, down key to show the result of MYSQL by ID like when get the ID will show the result. Like when put the Up, Down arrow show the result. Like this Index.php ?page=search&id=echo $id How to get ID from up / down arrow? Thanks. Link to comment Share on other sites More sharing options...
LostKobrakai Posted October 14, 2015 Share Posted October 14, 2015 If I understand you right, that you want to change the displayed page by hitting the up and down arrow key, then you need to use javascript. Either change the url and reload the whole page or even use ajax to just load the relevant data and replace them on the website. PHP cannot detect any keystrokes. Link to comment Share on other sites More sharing options...
pwired Posted October 14, 2015 Share Posted October 14, 2015 Or use something like this on windows and transform your keyboard and computer to the next level http://ahkscript.org/ Link to comment Share on other sites More sharing options...
Recommended Posts