coder_pl's Profile User Rating: -----

Reputation: 0 Apprentice
Group:
Members
Active Posts:
18 (0.03 per day)
Joined:
03-November 12
Profile Views:
367
Last Active:
User is offline Apr 17 2013 11:50 AM
Currently:
Offline

Previous Fields

Country:
PL
OS Preference:
Who Cares
Favorite Browser:
Who Cares
Favorite Processor:
Who Cares
Favorite Gaming Platform:
Who Cares
Your Car:
Who Cares
Dream Kudos:
0
Icon   coder_pl has not set their status

Posts I've Made

  1. In Topic: Dependent Dynamic Dropdowns

    Posted 12 Apr 2013

    how to check what was chosen in the 1st menu so then I can print another form adjusted with the correct SQL query to list relevant books to the chosen name?
  2. In Topic: Dependent Dynamic Dropdowns

    Posted 12 Apr 2013

    any more tips on how to do it in PHP then ? :)
  3. In Topic: Dependent Dynamic Dropdowns

    Posted 12 Apr 2013

    Quote

    well, that’s nothing more than submitting the form without pressing the submit button.

    anyways, that doesn’t change anything I have outlined in post #2.

    but this means that while Im using "onchange" on the first dropdown i dont need a submit button(correct?), which in my opinion is more userfriendly

    Quote

    - serve form with first dropdown
    - submit
    - PHP creates the second dropdown from the form data, serving that
    - submit form with second dropdown
    - evaluate result

    this means that 2 first points of this list are solved?
    after selecting something in 2nd dropdown user will input his name and email via text field then I would use submitt butotn to save everything into the Borrowed table...
  4. In Topic: Dependent Dynamic Dropdowns

    Posted 12 Apr 2013

    Yes I know onchange is JS and by saying:

    View Postcoder_pl, on 12 April 2013 - 03:54 AM, said:

    ok in my first form dropdown im using "onchange" which submits the selected choice and reloads the page


    I got this:
    echo '<form name="form" method="post" action="page.php"> 
          <select name="select" onchange="document.form.submit()">
          ... (while loop to list options fetched from DB)
          </select></form>'
    
    
  5. In Topic: Dependent Dynamic Dropdowns

    Posted 12 Apr 2013

    I am allowed to use onchange and that is it, the rest needs to be in PHP.

My Information

Member Title:
New D.I.C Head
Age:
27 years old
Birthday:
December 10, 1986
Gender:
Location:
Bydgoszcz, Poland

Contact Information

E-mail:
Private

Friends

coder_pl hasn't added any friends yet.

Comments

coder_pl has no profile comments yet. Why not say hello?