The community builder I am using requires php blocks to be parsed through eval(). Can I use the mysql_query in eval? If not how can I call info from the database in this eval()?
Here's my code so far:
$iProId = $this->oProfileGen->_iProfileID;
$sCat = mysql_query("SELECT genres from Profiles WHERE ID = ". $iProId);
print_r($sCat);
This gives me:
Resource id #167