Jump to content

how to select make/model from populated sql query list?


sayedsohail

Recommended Posts

Hi,

Sorry for my silly question, I have got a form which contains 20 fields, one of the fields is a drop down list box, which contains a sql query results, this results are huge, thus i am worrying for the speed.

 

I thought about an option ie., populating the results in a separate window and onclick method just bringing the select info to my form field.

 

I am able to populate the results in a separate window, but just having problem in select the result from it.

 

Any suggestions, please advise.

 

Thanks

Link to comment
Share on other sites

thanks jitesh, when i open the popup window, its loosing focus, how do i set focus the popup window and restrict the user from performing other actions on the parent window.  please advise.

 

You can't and for good reason, some evil spammer would do this and I'd lose all control of *my* browser.

 

You need to re-think how you are going to display this info. Take a look at ebay.com, they manage to display lists of millions of items by splitting them up into 20 per page and using product hierarchies.

 

Again, this is a user interface design problem, not a PHP problem. You need to ask a web site designer.

 

monk.e.boy

Link to comment
Share on other sites

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.