Avatar of Nikhil Dange
Nikhil Dange
Flag for India asked on

How to perform Multiple operation like print form and store into database at the same time using single button?

how to perform print button to print form and add button to add into database operation using single button using php and html?
CSSHTMLDatabasesPHPJavaScript

Avatar of undefined
Last Comment
mohan singh

8/22/2022 - Mon
Robert Granlund

It is going to be both PHP and html
ASKER CERTIFIED SOLUTION
gr8gonzo

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Robert Granlund

What information do you want to store in the db?
Your form has an action, the action calls the php.  Then in the php when the button is clicked (TRUE) then run a query to insert into the DB.  Give me a little more info or a URL and I / We can help you out a little more.

And Anything that gr8gonzo suggests.
mohan singh

Use to data-table working concept to full fill your requirements
in data-table you can do live update import, export, copy, excel etc
Your help has saved me hundreds of hours of internet surfing.
fblack61
Nikhil Dange

ASKER
I want to perform 2 action simultaneously over 'Save and Print' button on form using JavaScript, HTML
How?

save.png
mohan singh

Are using php for save your data in database ?
Nikhil Dange

ASKER
Yes
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
mohan singh

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
gr8gonzo

Nikhil, I already answered this - if you don't understand or need more information, please provide feedback.
mohan singh

mr. gr8gonzo give best answer