View Single Post
  #5 (permalink)  
Old 04-19-2003, 01:03 PM
mikem mikem is offline
Senior Member
 
Join Date: Sep 2002
Posts: 2,905
You'll have to look at a block that does work as intended. LIke one from our site.
You will have to add the calss to the database to grab the user_id number so it can be displayed in a link.

You need somthing like this to call that info from the database.

Code:
   $result = sql_query( "select user_id from $prefix"._users." where username='$username'", $dbi);
   list( $user_id ) = sql_fetch_row( $result, $dbi );
mikem
Reply With Quote