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..
ankit1122
-3
Junior Poster in Training
Recommended Answers
Jump to PostYes, 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.
and:
…If a form contains more than one submit button, only the activated submit button is successful.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.