1
attock
Home page with userinfo.php?uid=Number
  • 2006/8/20 5:21

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


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~

2
wcrwcr
Re: Home page with userinfo.php?uid=Number
  • 2006/8/20 9:25

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi

I?m not shure but did you try that module ?

3
attock
Re: Home page with userinfo.php?uid=Number
  • 2006/8/24 16:18

  • attock

  • Not too shy to talk

  • Posts: 138

  • Since: 2006/8/20


Hmm I guess it may do, but its not what I am really lookin for. Thanks for sharing though

Login

Who's Online

145 user(s) are online (106 user(s) are browsing Support Forums)


Members: 0


Guests: 145


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits