The members of the Programming Team offer the following suggestions to help you get the most from your time here.
Try a search.[INDENT]Your problem or a similar one has probably been discussed/answered before. SitePoint has two search features.
The vBulletin search http://www.sitepoint.com/forums/search.php
And an advanced search http://search.sitepoint.com/[/INDENT]
Use a descriptive thread title.[INDENT]Posting “HELP!”, “newbie” or a similar thread title will not help people solve your problem.[/INDENT]
Describe the problem.[INDENT]Post as much detail about your problem and the context in which it is occurring to help people to help you.[/INDENT]
Post the code.[INDENT]If you want help with some code you usually have to post it.
For larger files, consider posting them as attachments. For .php files you can add the .txt extension. For multiple files you can zip them.[/INDENT]
Limit the amount of code.[INDENT]Post minimum examples - only enough of the relevant code needed to explain your problem. Posting “everything” could be so much that it might scare other members away from helping.[/INDENT]
Write clean code.[INDENT]Format you code properly and comment it so it’s easier for others to follow.[/INDENT]
Keep Sensitive Information Out[INDENT]Make sure your code does not include such things as Passwords, Email Addresses, Folder/File names/paths, Database table/field names etc. For your security, replace them with ***** or with something generic like mypassword, mytable. If you’re afraid someone might see it, don’t post it! The Internet is Forever.[/INDENT]
Don’t Post Script-Kiddie Hack Code[INDENT]If you want to know what a suspicious looking script does, please don’t post it. There is no need to make it more available to others. Put your curiosity about how it works and what it does on hold, and ask for help on how to clean-up and improve your security against further attacks instead.[/INDENT]
Use code tags.[INDENT]Use the appropriate code tag - e.g. [NOPARSE]
[/NOPARSE] - to make your code easier to read.
See http://www.sitepoint.com/forums/misc.php?do=bbcode for the available bbcode tags and how to use them.
Also consider using the [NOPARSE][HIGHLIGHT=“…”]