Hello everyone,<br><br>&nbsp;&nbsp;&nbsp; How is this possible?&nbsp; I have the table usr_preferences, this query runs fine: if(avp_db_query(&quot;SELECT value FROM usr_preferences WHERE username = &#39;$fU&#39; AND attribute = &#39;e911&#39;&quot;, &quot;$avp(i:911)&quot;)), in other words if I take the query that should be constructed here, and is constructed here, and I run it in mysql cli, I get back a result, however this function &quot;does not&quot; create the AVP for me, no matter what I do, I run this, and I run xlog(&quot;L_INFO&quot;, &quot;the avp \$avp(i:911) equals.... $avp(i:911)&quot;); however it says its NULL every single time, what am I doing wrong, I&#39;ve read and reread the AVP documentation over a million times, however can not get this simply working, all help is appreciated, thank you.
<br clear="all"><br>-- <br>Brandon Armstead