Update phpapi-tutorial.md

Fixed code to get header.  Changed condition to be !=.
Merge pull request #38 from andywaite/patch-2

Update phpapi-tutorial.md