<div dir="ltr"><div dir="ltr">Hi Kingsley.<br><br>Thanks a lot for your comment. I realised that the following was missing before the query:<br><br>$var(user) = $rU;<br>$var(domain) = $rd;<br><br>It seems to be working for usernames now. Probably been the toughest bit of self-learning. Next step, need to figure out how to make this work for aliases.<br><br>Thanks again.<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>