Skip to content

Not returning 1 if record string is starting with letter #240

@cholopa

Description

@cholopa

Hello:

I have, what I think is a very strange issue, if I run this statement from Arduino:

query[] ="SELECT RFIDTAG FROM table1 WHERE RFIDTAG='2M22321321AA'";

It works(returns 1), and if a change the first characther of the search text to any number(and also change it in the database) it works fine. But if I change the first character to a letter (and also change it in the database) it returns zero.

If I execute the statement from phpadmin, it works fine, no matter if first character is a letter or a number..., so I understand the issue must be coming from the MySQL connector.

Can anyone help me please?

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