if you're new to programming or new to PHP then you should learn from this site, www.w3school.com.
this site contain the very base about web scripting and other kind of script....
i learn all basic about PHP from this site.
its really simple and easy.
even kids can read it too.....perhaps.