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

Is gender a dependent variable?

0 Answers  


What is php session and how it works?

0 Answers  


What is config file in php?

0 Answers  


Dear Sir, i am a frasher and now i got a job offer from AentteQ Software Technologies for PHP developer.. so i am in confusion that is PHP correct for my carrer or i shud choose other then php for my carrer...plz suggest me

4 Answers   NIIT,


What are objects in php?

0 Answers  






What is PHP's configuration file called?

0 Answers  


How do you sort an array in php?

0 Answers  


How can you access a COM object from a PHP page?

1 Answers  


Are objects passed by value or by reference?

0 Answers  


What is php.ini & .htacess file?

0 Answers  


Is laravel better than codeigniter?

0 Answers  


Explain me what is the importance of "method" attribute in a html form?

0 Answers  


Categories