http://hotwired.lycos.com/webmonkey/99/21/index2a.html
OK, so its an example for the integration of PHP with MySQL, but there's a good deal of "explanation" in there.
If you want to learn, go to hotscripts etc and download someone elses work, lets say for example you pick a project that you fancy having a go at yourself. Then strip it to pieces and see if you can work out whats going off. Pick a number of scripts, not just one, because each and every coder has a different style, none of which are particularly wrong, but some will be better than others. Pay close attention to scripts // WITH COMMENTS! because those are intended to be looked at by lesser mortals!
Best of luck, you shouldn't find it hard, just take it one step at a time and stick to the rules.