Jump to content

calling php and get the selection and transfer back to the originating php


kwstephenchan

Recommended Posts

Hi all.

 

I intend to have an input field in PHP program 1. Besides this input field, I have a button so that the user can search for value to be used instead of inputing.  On pressing this button, another php program, say program 2 will be called. Program 2 will go to the database and list the values for selection.  The user can then select and the selected value will be passed back to program 1 (without refreshing other fields in program 1)

 

Can anyone advise how this can be done?

 

I tried using Ajax, but it does not seem to be doing the trick, wonder what have I done wrong.

 

Thanks.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.