111
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~




TopTop
« 1 ... 9 10 11 (12)



Login

Who's Online

185 user(s) are online (103 user(s) are browsing Support Forums)


Members: 0


Guests: 185


more...

Donat-O-Meter

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

Latest GitHub Commits