Hello,
Sorry but I have a dummy question, is like a mistery for me. When I run this sql query
$query = db_select('system', 'n'); $query->fields('n',array('type'))->condition('name', 'book'); $result = $query->execute()->fetchAssoc();
I get results, but when I get (I replace 'contexthelp' string instead of 'book' string)
$query = db_select('system', 'n'); $query->fields('n',array('type'))->condition('name', 'contexthelp'); $result = $query->execute()->fetchAssoc();
I get empty results when I should get one row at least. Just in case I have checked out the string contexthelp and is stored in my system table.
Someone has any idea why I get this behavior?
Thanks in advance