I have seen a couple of questions which could have been easily solved by just referring to
the ultimate nerds cheatsheet.
If you don't know what to search, which is sometimes the case, just copy/paste your syntax error or your code into google, because I can assure you that a question has been answered before.
Some examples....
[code]Syntax error: cannot connect to database using password yes[/cod]
Try search..
Code:
Syntax error: cannot connect to database using password yes
Or
Code:
connecting to database PHP+SQL
also....
Code:
<href="site.com">Stuff</a>
Say that doesn't give you what you want, and you dunno wtfs going on, google search the code, and you'll definitely something.