<div dir="ltr">Never mind, i figure out<div><br></div><div>if ($avp(route_info) == 'NULL')<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Apr 7, 2015 at 11:07 AM, Satish Patel <span dir="ltr"><<a href="mailto:satish.txt@gmail.com" target="_blank">satish.txt@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I have following SQL query<div><br></div><div> avp_db_query("SELECT billing_customer,route_info FROM inbound WHERE (did='$tU')","$avp(bparty);$avp(route_info)");<br></div><div><br></div><div>I want to check if $avp(route_info) has NULL entry in DB table, But following code always giving me true. Even DB has value. what is wrong with code?</div><div><br></div><div><div> if ($avp(route_info) = NULL) {</div><div> xlog("Route_info is NULL");</div></div><div>}</div><div><br></div></div>
</blockquote></div><br></div>