I can recommend Javascript the Good parts by Douglas Crockford
and PHP 5 Objects, Patterns, and Practice by Matt Zandstra
Here's a playlist of Douglas Crockford's videos on javascript i found them to be very inforamtive
https://youtube.com/watch?v=hQVTIJBZook