Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Linux, Apache, MySQL, PHP
  4. Simple trouble.

Simple trouble.

Scheduled Pinned Locked Moved Linux, Apache, MySQL, PHP
phpdatabasetutorialquestion
3 Posts 2 Posters 3 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Nikz2
    wrote on last edited by
    #1

    Hi. I a'm writting a simple application on php 5 and zend_framework. I need to create two dropdown lists that depends on each other. Cities and streets for example. I select a new city at my client page and want that my application post me at the other dropdown list streets related to this city in the database. Which would be the better way to do it?

    C 1 Reply Last reply
    0
    • N Nikz2

      Hi. I a'm writting a simple application on php 5 and zend_framework. I need to create two dropdown lists that depends on each other. Cities and streets for example. I select a new city at my client page and want that my application post me at the other dropdown list streets related to this city in the database. Which would be the better way to do it?

      C Offline
      C Offline
      cjoki
      wrote on last edited by
      #2

      simple is relative but I would write an ajax call to a php server side script that returned the street data. All of this would started by using a onchange event of the city select from the display page.

      N 1 Reply Last reply
      0
      • C cjoki

        simple is relative but I would write an ajax call to a php server side script that returned the street data. All of this would started by using a onchange event of the city select from the display page.

        N Offline
        N Offline
        Nikz2
        wrote on last edited by
        #3

        Tnx. Now i know where to look. Big tnx.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups