r-it Posted May 5, 2008 Share Posted May 5, 2008 Hi there, i'm having a bit of a problem fathoming the processing behind popups and auto refreshing. I have a dropdown where you would select a client, and if the client does not yet exist, you are shown a popup in which you enter the new clients details (and are then stored in a database), once that is completed, you return to the dropdown, and it is/ has been automatically updated, and thus you can select it. anyone who has done something similar please help by sharing your code or by providing an algorithm. Thanks Quote Link to comment https://forums.phpfreaks.com/topic/104194-php-and-or-ajax/ Share on other sites More sharing options...
MadTechie Posted May 5, 2008 Share Posted May 5, 2008 if you don't want to refresh the whole page then your need to look at ajax/javascript or frames, but for starters get it working with pure php, the basics are create a form with a drop down list, then make that dropdown dynamic (build from a DB or flatfile) then ajax it this example may help. Dynamic DropDown PHP/AJAX Quote Link to comment https://forums.phpfreaks.com/topic/104194-php-and-or-ajax/#findComment-533387 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.