Iñaki Baz Castillo writes: > I retrieve the value of an integer column in a MySQL table. In this > case the value is NULL. I store the result in a $var: > > $var(client_max_calls) = $dbr(client=>[0,0]); > > But the stored value is "" (empty string) rather than 0. Isn't a bit > confussing?
inaki, yes, it is. have you tried what happens if you explicitly convert the rhs value to (int)? -- juha _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users