needs_upgrade Posted November 2, 2013 Share Posted November 2, 2013 Hello guys! What if i have a form for adding new product. One of the fields of the TableProducts is 'CategoryId'. So the most common way to enter the CategoryId is by a dropdownbox. What if the category does not exist yet? So you have to add the new category from another page and refresh the "add product" form to load the newly inserted category. Can anyone guide me how to make a pop up page where i can add the category and upon submitting the new category, the categoryid of the "add product" form will have the new inserted categoryid. Thank you so much guys. Quote Link to comment https://forums.phpfreaks.com/topic/283532-pop-up-window-and-send-variable-to-current-page/ 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.