Jump to content


Photo

help with combo box query


  • Please log in to reply
3 replies to this topic

#1 ichversuchte

ichversuchte
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 04 April 2006 - 06:29 PM

Im not sure if this is at all possible with php, but i have a site and I have a large query that pulls a ton of data on people. I want to put names in a combobox and by using that combo box, if possible I would like when a name is picked to update a table on the page without a refresh. If i have to, ill live with a page refresh, can anyone help me?



#2 jvrothjr

jvrothjr
  • Members
  • PipPipPip
  • Advanced Member
  • 300 posts
  • LocationOhio

Posted 04 April 2006 - 07:16 PM

you could use an I-frame for your table. and have to conbo box set on_change to refresh the I-frame and not the whole page. This is a can do function. You have to have some way to send the data that was selected to another function to run the query to get the new data.
If you understand everything you know nothing!

http://rcchjr.awardspace.com/

#3 ichversuchte

ichversuchte
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 04 April 2006 - 07:31 PM

[!--quoteo(post=361672:date=Apr 4 2006, 03:16 PM:name=jvrothjr)--][div class=\'quotetop\']QUOTE(jvrothjr @ Apr 4 2006, 03:16 PM) View Post[/div][div class=\'quotemain\'][!--quotec--]
you could use an I-frame for your table. and have to conbo box set on_change to refresh the I-frame and not the whole page. This is a can do function. You have to have some way to send the data that was selected to another function to run the query to get the new data.
[/quote]

Is there anyway you can give me an example of how to pass the data from a combo box to the Iframe. Just to get me started, Im not asking to write it all, just a lil shove would be nice.

Thank you

#4 ichversuchte

ichversuchte
  • Members
  • PipPip
  • Member
  • 24 posts

Posted 05 April 2006 - 01:52 PM

Can someone give me an example of this or at least point me to a good tutorial for this. I have searched and have had no luck.

Thank you




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users