In forms when i am click submit button it will store on the
desired table as well as it send to paticuler mail id.
Any body know the answer plz give me detail information.

Answers were Sorted based on User's Feedback



In forms when i am click submit button it will store on the desired table as well as it send to pat..

Answer / anis

Run the query first
check whether query run successfully or not
if query is successful
send mail

Is This Answer Correct ?    12 Yes 3 No

In forms when i am click submit button it will store on the desired table as well as it send to pat..

Answer / n.viranjaneyulu

ok, i think u know to read the values from html form in
php.That values to create variables ,then after u can
connect data base then send values to store particular
table, after using mail function to send mail .mail function
need 4 values.that is 'to' is destination
address,'subject','content' and 'from' address.
i think know db connectivity and insert values


Example:- mail($to,$subject,$content,"from:$from");

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What php framework does wordpress use?

0 Answers  


Is php dying 2018?

0 Answers  


How does the identity operator === compare two values?

0 Answers  


How to delete a file from the system?

0 Answers  


What does session start do in php?

0 Answers  






What is the difference between echo print and print_r in php?

0 Answers  


What is strcmp () in php?

0 Answers  


Write the statements that are used to connect php with mysql

0 Answers  


How can cross site request forgery csrf be prevented?

0 Answers  


Are react hooks stable?

0 Answers  


What are the differences between include() and include_once () functions?

12 Answers  


Do you know how to delete a file from the system?

0 Answers  


Categories