kwstephenchan Posted January 7, 2009 Share Posted January 7, 2009 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. Quote Link to comment https://forums.phpfreaks.com/topic/139803-calling-php-and-get-the-selection-and-transfer-back-to-the-originating-php/ Share on other sites More sharing options...
trq Posted January 7, 2009 Share Posted January 7, 2009 Sounds like ajax to me. You might want to post your code and question in the ajax board. Quote Link to comment https://forums.phpfreaks.com/topic/139803-calling-php-and-get-the-selection-and-transfer-back-to-the-originating-php/#findComment-731386 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.