PHP Warning Error While Sending QUERY Packet