www.webdeveloper.com
Results 1 to 2 of 2

Thread: A pop up window that returns php value to parent

  1. #1
    Join Date
    Mar 2011
    Posts
    1

    A pop up window that returns php value to parent

    I'm very new to php and such and am having a hard time finding my answer on the web.

    I have a form right now that submits data to a php file that then writes it into a mySQL database. What I am looking to do is have a search box on the form that launches a popup window which will run an already existing php search page and show results. The user could then click which search result they want and the popup would close and fill out certain form fields with that search result. Then the user could finish filling in the form and submit it.

    I'm hoping someone can point me in the right direction. Is this even possible? Am I making it too difficult?

  2. #2
    Join Date
    Aug 2004
    Location
    Ankh-Morpork
    Posts
    19,351
    Sounds like a job for AJAX, which is simply (?) a special use of JavaScript to send requests to the server and update the page based on the response without reloading the page.
    "Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
    ~ Terry Pratchett in Nation

    eBookworm.us

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles