Jump to content

php,mysql,javascript help


kungfu71186

Recommended Posts

Ok i am trying to make a form. The form will have some options. Now based on the options selected it will load a list into a select box.

My question is what is the best way to do this. How could i update the list right away, would i need to get into ajax for this?

From what i understand i will need to submit and then from there i can do what i want in php. But would i need to get into ajax so i wouldnt have to refresh the page or anything.

What you think the best thing is?

When i update the list would it better to put it in a select box or just list them in a table and have them link with the post functions inside them or something. Like

"[stuff in here is a select box]

What games do you like? [Select, Action, Adventure, MMO]

So say i select MMO, it will then load action games from a database. Would it be better to just list in another select box like

Games: [Lineage 2, WoW, Runescape]
or list them in a table

Lineage 2
WoW
Runescape

But they would be links basically that has the post url.
And when you click it you would then get another list with more information about it and what not.

Is it possible when i select the MMO option that it will update the new list right away? And if someone knows of an example or can put me in the right direction to do this in a efficient that be great.
Thanks.


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.