use "search" to find the many times this topic has been addressed.
Recognize that you will usuallly get excellent and very prompt help here when you show that you have made some effort to code an answer to your problem, and put your question in the form of a well-formatted, brief statement of the code, the problem and the error messages, if any.
Understand that the Monastery is an institution of learning; not a source of free work.
Suggestion: register as a Monk so that you can edit ill-considered posts like your OP.