Jump to content

select query returning weird resut


simpli

Recommended Posts

Hi, I have the following sql statement:

SELECT `tree`.* FROM `test-company`.`tree` WHERE (node_id = 'dojoUnique5')

. There is absolutely no record with node_id = 'dojounique5' in my table yet it returns me the record where node_id = 0. In fact if i replace dojounique5 by z or xxx, it still returns me that record. Anyone can tell me why and whats wrong with my sql?

Link to comment
https://forums.phpfreaks.com/topic/170923-select-query-returning-weird-resut/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.