Jump to content

Recommended Posts

hello.  i have a search results page that typically displays around 200 search results to a user using a simple while loop.  the user then uses sorting features on each column heading to display the list as desired.  then typically the user will select around 20 rows to be changed.

 

obviously i could use a text box on each row to allow a user to be able to select that row to edit it.  is there a better, more user friendly way?  is there anything out there already that would use a shift-click method or something that would reduce the number of clicks the user has to make to select 20 consecutive rows?

 

i don't mind trying to recreate something, any ideas would help me here.  also does anyone know if the shift click thing is even possible with just php, or would i need to incorporate something like flash to make that possible?

Link to comment
https://forums.phpfreaks.com/topic/86328-select-multiple-rows-gui-ideas/
Share on other sites

It's certainly not possible with PHP. PHP is a server side language - by the time the HTML is displayed in the browser, the PHP code has been executed.

 

Though im no javascript expert, I would imagine it wouldn't be too difficult to create using javascript, using the onClick and onKeyPress events. Perhaps if you head over to the javascript forum, someone with a bit more javascript knowledge might be able to point you in the right direction.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.