1
I was trying to figure out how to set homepage to 'userinfo.php?uid=MyUID number'
I am using the following code in /index.php(its just a guess, but ofcource its not working)
$sql = "SELECT count(*) FROM ".$db->prefix("users")." WHERE uid = '".$xoopsUser->getVar("uid")."'";
$result = $db->query($sql);
$url = "/userinfo.php?uid=[$result']
A lil help will be highly appreciated
Thanks~