Good morning, please have a problem when making a select to my SQL database, since I do not recognize the '&' character in the query and therefore does not return the records consulted. I appreciate your collaboration.
Good morning, please have a problem when making a select to my SQL database, since I do not recognize the '&' character in the query and therefore does not return the records consulted. I appreciate your collaboration.
If the problem you are facing is that the record has "&"; in some name or in some table the solution could be using:
SELECT * FROM "foo&foo";
In case you need a php statement to call the SQL statement it should be something similar to this:
$query = 'SELECT * FROM "foo&foo"';
Anyway, I recommend you upload code so we can give an answer in conditions and not some answers as unspecific as those I just gave you.