can i use submit button inside a form to access a function in other php file?because i have 2 buttons on same page but want them to do different function..one to query database other to update table..
Jump to Post
Yes, you can use multiple submit buttons in your forms:
submit buttons: When activated, a submit button submits a form. A form may contain more than one submit button.
If a form contains more than one submit button, only the activated submit button is successful.
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.