Jump to content

Up Down key in MYSQL


Vicky Sp
 Share

Recommended Posts

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

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...