Pare che funzioni. Ma ovviamente dipende da quello che nella db. Cosa ti da
Codice PHP:
var_dump($result);