Timeline for Problem with creating own module Block with an SQL query
Current License: CC BY-SA 3.0
3 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 17, 2012 at 14:25 | vote | accept | Mestika | ||
May 17, 2011 at 15:40 | comment | added | avpaderno♦ |
To further add, db_result() should be used when the query is returning a single field, such as SELECT nid FROM {node} WHERE … . If you need to get only a result but the query is not selecting a single field, then you should use db_query_range() .
|
|
May 17, 2011 at 9:16 | history | answered | Jeremy French | CC BY-SA 3.0 |