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

Tell me what should we do to be able to export data into an excel file?

0 Answers  


What are the 3 scope levels available in php and how would you define them?

0 Answers  


How to find the length of a string?

0 Answers  


Is php dying 2018?

0 Answers  


Where are cookies stored php?

0 Answers  






How can we upload a file in php?

0 Answers  


Write down the code for save an uploaded file using php?

0 Answers  


What is the purpose of break and continue statement?

0 Answers  


how to change the div background color on every refresh..guys can u help me out.

3 Answers  


What is meant by pdo in php?

0 Answers  


when you will get the message/error "headers already sent"?

5 Answers  


How do I display php errors?

0 Answers  


Categories