Updated example code

Made sure the example PHP code matched the SQL code