To improve your chances of getting an answer, here are few tips and guidelines:
Before posting question search and research, keep your findings.
Write a title that encapsulates the specific problem
The title is very important and the first thing potential answerers will see, and if your title isn't interesting, they won't read the rest. See few examples
Bad: C# logic Confusion
Good: How to use enum item name which contains space?
Bad: php session dificulties
Good: How can I send users to different pages based on session data getting in PHP?
Introduce the problem before you post any source code
In the post of your question, start by enlarging on the summary you put in the title. Put details how you encountered the problem you're trying to solve, and any difficulties that have prevented you from solving it yourself. The first paragraph in your question is the second thing most programers/developers will see, so make it as engaging and informative as possible.
Help others reproduce the problem
Not all problems benefit from including source code. But if your problem is with code you've written, you should include some. But don't just copy in your entire program!
it likely to get you in trouble if you're posting your employer's code.
it likely includes a lot of irrelevant details that readers will need to ignore when trying to reproduce the problem.
Include all relevant tags
Try to select specific tags.
- Public: any one can see and can answer
- Friend: only you friend can see and can answer
- Private : no one can see. it's like a draft