Skip to content

set_user_info function get error when data contain single quote #89

@diaulhaq

Description

@diaulhaq

Please help me, I get error massage when I use function set_user_info to send User to attendance machine, when my data is contain single quote :
$data = $con->set_user_info([
'pin' => 558,
'name'=> "SAM'UN",
]);

The error massage is "SimpleXMLElement::__construct(): Entity: line 1: parser error : EndTag: '</' not found"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions