You are loading that into a widget? You should not be putting doctype or head or body tags in there - only the table html. And, if it's a widget, then you'll want to use vB::$vbulletin->userinfo['userid'] as the variable. You also really shouldn't use echo either.... I wrote a php widget, you can see my profile for a link to it. You may want to see how I went about it.
|