Link to home
Create AccountLog in
Avatar of Nikhil Dange
Nikhil DangeFlag 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?
Avatar of Robert Granlund
Robert Granlund
Flag of United States of America image

It is going to be both PHP and html
ASKER CERTIFIED SOLUTION
Avatar of gr8gonzo
gr8gonzo
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
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.
Use to data-table working concept to full fill your requirements
in data-table you can do live update import, export, copy, excel etc
Avatar of Nikhil Dange

ASKER

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

User generated image
Are using php for save your data in database ?
Yes
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Nikhil, I already answered this - if you don't understand or need more information, please provide feedback.
mr. gr8gonzo give best answer